Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- term.clear()
- write("Mot de passe : ")
- input = read("*")
- mdp = ("1234")
- debug = ("12345")
- if input == mdp then
- write("Mot de passe correct")
- rs.setOutput("left",true)
- sleep(3)
- rs.setOutput("left",false)
- sleep(1)
- os.reboot()
- elseif input == debug then
- write("Debugage activé")
- else
- write("Mauvais mot de passe")
- rs.setOutput("back",true)
- sleep(4)
- rs.setOutput("back",false)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement