Advertisement
precognist

CC_Install

Oct 7th, 2022 (edited)
690
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.82 KB | Gaming | 0 0
  1. --[[replace these strings with the
  2.     program name and pastebin index]]
  3. local programName = "firewolf"
  4. local pasteIndex = "nWxDpy7u"
  5.  
  6. shell.run("rm "..programName)
  7. shell.run("pastebin get "..pasteIndex.." "..programName)
  8. --[[shell.run(programName)]]
  9. print("type 'firewolf' to start browser, type 'update' in the addressbar")
  10.  
  11. --[[This simple program allows you to edit a ComputerCraft
  12. program at pastebin.com and it will always update it before
  13. running it. Very useful if you have many computers that need
  14. to run the same code, for instance Direwolf20's Season 5frame
  15. quarry with the 16 turtles. Each has to run the same code, but
  16. editing then reloading that code into each turtle is tedious.
  17. If you use "pastebin get M9a2L0Yw startup", this will
  18. automatically get and run the program on startup or reboot.]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement