
Untitled
By: a guest on
Jun 30th, 2012 | syntax:
Lua | size: 0.45 KB | hits: 17 | expires: Never
cpwd = "pwd"
debug = "debug"
print("Password Richiesta")
write("Immettere password: ")
pwd = read()
while true do
if pwd == debug then
print("Modalità Debug Attivata")
break
end
if pwd == cpwd then
print("Password Accettata")
redstone.setOutput(back, "true")
sleep(5)
redstone.setOutput(back, "false")
else
print("Password Rifiutata")
sleep(2)
os.shutdown()
end
end