Advertisement
RobotBubble

Name

Oct 23rd, 2017
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. os.pullEvent = os.pullEventRaw
  2. term.clear()
  3. term.setCursorPos(1, 1)
  4. print("New name: ")
  5. term.setCursorPos(10, 1)
  6. input = read()
  7. sleep(.5)
  8. if input == "jesuschrist" then
  9. term.clear()
  10. term.setCursorPos(1, 1)
  11. shell.run("label set JasonBourne")
  12. sleep(1)
  13. os.reboot()
  14. else
  15. term.clear()
  16. term.setCursorPos(1, 1)
  17. shell.run("label set", input)
  18. sleep(.5)
  19. print("Rebooting...")
  20. sleep(1)
  21. os.reboot()
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement