Posted 21 April 2014 - 11:29 PM
Hey im a newb in lua and i just saw some tuts and now i wrote a program for my door but always i recieve the msg
bios:338; [string "startup"]:9: ')' expected
here is my work
Hope i find some help ^^
bios:338; [string "startup"]:9: ')' expected
here is my work
os.pullEvent = os.pullEventRaw
shell.run("clear")
function password()
print("Please enter the Password\n\n")
write("Password :")
PW =io.read()
if PW =="Liss" then
shell.run("clear")
rs.setOutput("back". true)
sleep(6)
rs.setOutput("back". false)
shell.run("clear")
password()
else
shell.run("clear")
shell.run("reboot")
password()
end
end
password()
Hope i find some help ^^