Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- redstone.setOutput("left", true)
- print("mot de passe ?")
- txt = read("*")
- if txt == "0000" then
- redstone.setOutput("left", false)
- print("mot de passe : ok")
- os.sleep(5)
- os.reboot()
- else
- print("mot de passe : non accepter")
- os.sleep(2)
- shell.run("startup")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement