moverperfect

mupdater

Oct 4th, 2012
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.99 KB | None | 0 0
  1. print("Would you like to update/download startup and murtle?")
  2. print("y/n")
  3. resp = read()
  4. if resp == "y" then
  5.     shell.run("rm","startup")
  6.     shell.run("pastebin","get","UhrM5nb2","startup")
  7.     print("Creating directory for library's")
  8.     shell.run("rm","lib")
  9.     shell.run("mkdir","lib")
  10.     shell.run("pastebin","get","yxAnwzFK","/lib/murtle")
  11. end
  12.  
  13. print("What programs would you like to download?")
  14. print("ee-pyramid")
  15. print("pyramid")
  16. print("floor")
  17. print("prepTunnels")
  18. response = read()
  19.  
  20. if response == "none" then
  21.     return 1
  22. elseif response == "ee-pyramid" then
  23.     shell.run("rm","eepyramid")
  24.     shell.run("pastebin","get","dZTMtFND","eepyramid")
  25. elseif response =="pyramid" then
  26.     shell.run("rm","pyramid")
  27.     shell.run("pastebin","get","ZWPg03sy","pyramid")
  28. elseif response == "floor" then
  29.     shell.run("rm","floor")
  30.     shell.run("pastebin","get","QVwMk3xh","floor")
  31. elseif response == "prepTunnels" then
  32.     shell.run("rm","prepTunnels")
  33.     shell.run("pastebin","get","7C64JA6R","prepTunnels")
  34. end
Advertisement
Add Comment
Please, Sign In to add comment