Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- motdepasse = "furest"
- print ("Acces protege!")
- write ("Veuillez entrer le mot de passe:")
- term.setCursorPos(1,4)
- input = read("X")
- if input == motdepasse then
- print ("accez autorise")
- sleep(0.2)
- term.clear()
- term.setCursorPos(1,1)
- else
- print ("acces refuse")
- sleep(2)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement