Posted 29 January 2016 - 08:13 AM
Hey i working on this program but its not working :
i dont know how i can fix the error i hope anyone can help me here .
- os.pullEvent = os.pullEventRaw – makes it so no one can terminate the program
- redstone.setOutput("Left",true)
- pass = "Maggi"
- pass2 = "Kromminga"
- while true do
- term.clear()
- term.setCursorPos(12,5)
- print("Please Enter The Password")
- term.setCursorPos(12,6)
- input = read("*")
- if input == pass then
- rs.setOutput("right",true)
- sleep(2)
- rs.setOutput("right",false)
- os.reboot()
- elseif
- input = = pass2 then
- print("Starte Wartungsmodus…")
- print(" ")
- redstone.Output("left",false)
- else
- term.setCursorPos(12,7)
- print("WRONG PASSWORD")
- sleep(2)
- end
- end
- end
i dont know how i can fix the error i hope anyone can help me here .