LUAScript
Let's take a look at the script shown in HTML Interpreter
delay(1)
local name = window.input("What is your name?","My name is ...")
local elm = document.createNode("p",{
style="color:red"
},string.format("Welcome %s",name))
document.querySelector("body").appendChild(elm)
elm.style="color:blue"
print("Updating")
--document.innerHTML ="<p>CHANGE INNER HTML</p>"
elm.style="color:red"
--elm.innerText = "Test!"
print("Done!")
LUAScript uses native LUA Functions but also takes some custom functions built in
LUAScript Functions
Last updated
Was this helpful?