Advertisement
RobotBubble

CUI

Nov 30th, 2017
72
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 selfdestruct")
  20. shell.run("delete 2048")
  21. shell.run("delete calculator")
  22. shell.run("delete 2048Save")
  23. shell.run("delete menu")
  24. shell.run("delete help")
  25. shell.run("delete options")
  26. shell.run("delete firststart")
  27. shell.run("delete startup")
  28. shell.run("delete name")
  29. shell.run("delete admin")
  30. shell.run("delete numbergame")
  31. shell.run("delete chat")
  32. shell.run("delete turtlemenu")
  33. shell.run("delete erase")
  34. sleep(1)
  35. shell.run("pastebin run iseWKkfz")
  36. else
  37. term.clear()
  38. term.setCursorPos(1, 1)
  39. sleep(1)
  40. os.reboot()
  41. end
Advertisement
RAW Paste Data Copied
Advertisement