Advertisement
CainDonaghey

Script Receiver

Jun 23rd, 2013
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.15 KB | None | 0 0
  1. -- Tree Turtle Script Receiver
  2. -- v1.0
  3.  
  4. if not fs.exists("treeFarm") then
  5. print("Downloading Base Builder.. (treeFarm)")
  6. if shell.run("pastebin get HEpZc2vf treeFarm") then
  7. print("Downloaded!")
  8. sleep(4)
  9. end
  10. else
  11. print("You already have the Base Builder script.")
  12. print("Attempting to update..")
  13. shell.run("rm treeFarm")
  14. print("Removed previous version, updating.")
  15. if shell.run("pastebin get HEpZc2vf treeFarm") then
  16. print("Updated!")
  17. sleep(4)
  18. end
  19. end
  20.  
  21. if not fs.exists("startup") then
  22. print("Downloading Tree Turtle Script.. (startup)")
  23. if shell.run("pastebin get mhS0Qzzr startup") then
  24. print("Downloaded!")
  25. sleep(2)
  26. end
  27. else
  28. print("You already have the Tree Turtle Script.")
  29. print("Attempting to update..")
  30. shell.run("rm startup")
  31. print("Removed previous version, updating..")
  32. if shell.run("pastebin get HEpZ2cvf startup") then
  33. print("Updated!")
  34. sleep(2)
  35. end
  36. end
  37.  
  38. sleep(2)
  39. shell.run("clear")
  40. print("You must now type 'treeFarm' first.")
  41. print("Then you type 'startup' second.")
  42. print("Be sure you have the right items in the right places.")
  43. print("Check the forum thread for information on that.")
  44. sleep(1)
  45. print("Exiting script.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement