ascobol

Asco Farming Downloader

Feb 25th, 2014
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.95 KB | None | 0 0
  1. term.clear()
  2. print ("Asco's Farming Turtle Downloader")
  3. print ("================================")
  4. print ("")
  5. print ("Downloading utility api ...")
  6. fs.delete("ascoUtilityApi")
  7. if (shell.run("pastebin", "get", "mkrebv6W", "ascoUtilityApi")) then
  8.     os.loadAPI("ascoUtilityApi")
  9. else
  10.     error("Couldn't download utility api!")
  11. end
  12. print ("Downloading turtle api ...")
  13. fs.delete("ascoTurtleApi")
  14. if (shell.run("pastebin", "get", "UKm6TCk9", "ascoTurtleApi")) then
  15.     os.loadAPI("ascoTurtleApi")
  16. else
  17.     error("Couldn't download turtle api!")
  18. end
  19. print ("Downloading farming api ...")
  20. fs.delete("ascoFarmingApi")
  21. if (shell.run("pastebin", "get", "WSeMJrTY", "ascoFarmingApi")) then
  22.     os.loadAPI("ascoFarmingApi")
  23. else
  24.     error("Couldn't download farming api!")
  25. end
  26. print ("Downloading program ...")
  27. fs.delete("ascoFarming")
  28. if(shell.run("pastebin", "get", "vnn9f5aj", "ascoFarming")) then
  29.     shell.run("ascoFarming")
  30. else
  31.     error("Couldn't download program!")
  32. end
Add Comment
Please, Sign In to add comment