Posted 16 January 2013 - 03:59 PM
I have no idea what I am doing wrong, but whenever I use loop in something the program keeps telling me that error in the title.
here is the code I have.
here is the code I have.
overide = "overide"
passcode = "passcode"
loop
term.clear()
term.setCursorPos(1,1)
print("Tangent Lock 3.0")
write("input: ")
input = read("*")
if input ~= passcode then
print("Incorrect Passcode")
sleep(1)
end
until input == passcode or input == overide
print("Passcode Accepted!")
sleep(1)
term.clear()
term.setCursorPos(1,1)