daanh432

ComputerCraft code remove fake virus

May 4th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. print ("Checking for Virus...")
  4. sleep (2)
  5. if fs.exists("startup") == true then
  6. print ("Virus Detected. Eliminating..")
  7. fs.delete("startup")
  8. sleep(2)
  9. print("Elimination Complete. Removing disk and Reboot")
  10. sleep(3)
  11. disk.eject("left")
  12. disk.eject("right")
  13. disk.eject("back")
  14. disk.eject("top")
  15. disk.eject("bottom")
  16. disk.eject("front")
  17. os.reboot()
  18. else
  19. print("No virus Detected..")
  20. end
Add Comment
Please, Sign In to add comment