Posted 29 May 2013 - 06:41 PM
I am getting the error
bios:337: [string "startup"]:16: '<eof>' expected
when i attempt to run my program. It is a program designed to require a password to open an iron door on Minecraft. The problem is when it gets to the end and it is supposed to reboot to repeat the program, the error above appears. Here is my code:
bios:337: [string "startup"]:16: '<eof>' expected
when i attempt to run my program. It is a program designed to require a password to open an iron door on Minecraft. The problem is when it gets to the end and it is supposed to reboot to repeat the program, the error above appears. Here is my code:
os.pullEvent = os.pullEventRaw
local side = "left"
local password = "Password" //Not real password, just a note
write "Password: "
local input == (password) then
term.clear()
write "Access Granted"
redstone.setOutput("left", true)
sleep(5)
redstone.setOutput("left", false)
os.reboot()
else
term.clear()
write "Your Failure Saddens Me :(/>/>"
sleep(3)
os.shutdown()
end