Posted 11 May 2012 - 12:13 AM
I have an issue. I get a "startup:14: attempt to call nill" issue, and I don't know what's wrong.
I'm just messing around with LUA with no former experience, and there's something wrong and I can't figure out what it is.
_______________________________________
Any ideas?
I'm just messing around with LUA with no former experience, and there's something wrong and I can't figure out what it is.
_______________________________________
os.pullEvent = os.pullEventRaw
local side = "back"
local opentime = 5
term.clear (1)
term.setCursorPos (1,1)
write ("Enter Your Password: ")
local input = read("*")
if input == (password) then
term.clear (1)
term.setCursorPos (1,1)
print ("Oh em gee, congratulations!")
rs,setOutPut (back, true)
sleep (5)
rs.setOutPut (back, false)
os.reboot (1)
else
term.clear (1)
term.setCursporPos (1,1)
print ("FUCK OFF!")
sleep(2)
os.reboot (1)
end
_________________________________________Any ideas?