Facebook
From Soft Sheep, 3 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 75
  1. while true do
  2. os.pullEvent=os.pullEventRaw()
  3. term.clear()
  4. term.setCursorPos(1, 1)
  5. write("Enter Password to enter: ")
  6. input = read("*")
  7. if input == "CGI" then
  8. redstone.setOutput("right", true)
  9. sleep(3)
  10. redstone.setOutput("right", false)
  11. sleep(1)
  12. os.reboot()
  13. else if input=="edit" then
  14. term.clear()
  15. write("Editing...")
  16. sleep(1)
  17. edit startup
  18. else
  19. print("Incorrect! Try again later.")
  20. sleep(1)
  21. print("Shutting Down")
  22. sleep(1)
  23. os.reboot()
  24. end
  25. end