El_Diablo256

shutdown

Apr 28th, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[ Note:
  2. you have to name this something different than shutdown, otherwise it will get in a unstopable loop]]--
  3.  
  4. term.clear()
  5. term.setCursorPos(1,1)
  6. print("Logging Out")
  7. sleep(2)
  8. term.clear()
  9. term.setCursorPos(1,1)
  10. print("Shutting Down")
  11. sleep(1)
  12. write(". . . . . . . . . .")
  13. sleep(2)
  14. term.clear()
  15. term.setCursorPos(1,1)
  16. shell.run("shutdown")
Advertisement
Add Comment
Please, Sign In to add comment