Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[replace these strings with the
- program name and pastebin index]]
- local programName = "shear"
- local pasteIndex = "3HAishVs"
- shell.run("rm "..programName)
- shell.run("pastebin get "..pasteIndex.." "..programName)
- shell.run(programName)
- --[[This simple program allows you to edit a ComputerCraft
- program at pastebin.com and it will always update it before
- running it. Very useful if you have many computers that need
- to run the same code, for instance Direwolf20's Season 5frame
- quarry with the 16 turtles. Each has to run the same code, but
- editing then reloading that code into each turtle is tedious.
- If you use "pastebin get M9a2L0Yw startup", this will
- automatically get and run the program on startup or reboot.]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement