Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Password Menu")
- term.setCursorPos(1,4)
- print("Username:")
- user = 0
- user=io.read()
- if user == "CrhistianHermano" then
- term.setCursorPos(1,7)
- print("Password:")
- pass = 0
- pass =io.read()
- if pass == ("1110204") then
- term.setCursorPos(1,10)
- print("Esperando")
- sleep(1)
- term.clear()
- term.setCursorPos(1,1)
- print("Iniciando")
- else print ("Error: Password incorrecto")
- sleep ( 2 )os.reboot()
- end
- else print ("Error: Username Incorrecto")
- sleep ( 2 )os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement