skare

Untitled

Jul 15th, 2015
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. while true do
  2. os.pullEvent =os.pullEventRaw
  3. term.clear()
  4. term.setCursorPos(1, 1)
  5. print("MSC DataCenter")
  6. print("Entrez le mot de passe: ")
  7. input = read("*")
  8. if input == "19980912" then
  9. redstone.setOutput("left", true)
  10. sleep(3)
  11. redstone.setOutput("left", false)
  12. sleep(1)
  13. os.reboot()
  14. else
  15. print("Incorrect essaye encore.")
  16. sleep(1)
  17. print("Shutting Down")
  18. sleep(1)
  19. os.reboot()
  20. end
  21. end
Advertisement
Add Comment
Please, Sign In to add comment