Posted 20 March 2012 - 09:01 AM
i get so frustrated by this whenever i try doing something like that i get some sort of error for this code it's
please help me
bios:206: [string "lock"]:10: syntax error
can anyone correct me where ever i am wrong inSpoiler
pass = "mypasswordhere"
write("password:")
read("*")
if input() == pass then
print("correct")
rs.setOutput("left", true)
sleep(5)
rs.setOutput("left", false)
os.shutdown()
else
print("wrong")
sleep(1)
print("next time get the password right")
rs.setOutput("right", true)
sleep(2)
rs.setOutput("right", false)
os.shutdown()
end