Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- os.pullEvent =os.pullEventRaw
- term.clear()
- term.setCursorPos(1, 1)
- print("MSC DataCenter")
- print("Entrez le mot de passe: ")
- input = read("*")
- if input == "19980912" then
- redstone.setOutput("left", true)
- sleep(3)
- redstone.setOutput("left", false)
- sleep(1)
- os.reboot()
- else
- print("Incorrect essaye encore.")
- sleep(1)
- print("Shutting Down")
- sleep(1)
- os.reboot()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment