Advertisement
RobotBubble

Delete

Oct 27th, 2017
193
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. term.clear()
  2. term.setCursorPos(1, 1)
  3. textutils.slowPrint("Are you sure?")
  4. sleep(1)
  5. textutils.slowPrint("Running this program")
  6. textutils.slowPrint("will erase all data")
  7. textutils.slowPrint("on this computer.")
  8. print("Y/N?")
  9. term.setCursorPos(1, 6)
  10. input = read()
  11. if input == "y" then
  12. term.clear()
  13. term.setCursorPos(1, 1)
  14. textutils.slowPrint("Goodbye...")
  15. sleep(1)
  16. shell.run("label set BlankComputer")
  17. shell.run("delete remote")
  18. shell.run("delete remote2")
  19. shell.run("delete stackerz")
  20. shell.run("delete ui")
  21. shell.run("delete notes")
  22. shell.run("delete backwall")
  23. shell.run("delete games")
  24. shell.run("delete typetest")
  25. shell.run("delete reaction")
  26. shell.run("delete selfdestruct")
  27. shell.run("delete 2048")
  28. shell.run("delete calculator")
  29. shell.run("delete 2048Save")
  30. shell.run("delete menu")
  31. shell.run("delete help")
  32. shell.run("delete options")
  33. shell.run("delete firststart")
  34. shell.run("delete startup")
  35. shell.run("delete name")
  36. shell.run("delete admin")
  37. shell.run("delete numbergame")
  38. shell.run("delete chat")
  39. shell.run("delete turtlemenu")
  40. shell.run("delete erase")
  41. sleep(1)
  42. os.reboot()
  43. else
  44. term.clear()
  45. term.setCursorPos(1, 1)
  46. sleep(1)
  47. os.reboot()
  48. end
Advertisement
RAW Paste Data Copied
Advertisement