Advertisement
subzero22

install

Feb 5th, 2014
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.18 KB | None | 0 0
  1. function file()
  2. print("Sorry but you already have this file on here")
  3. print("Press any key to continue")
  4. os.pullEvent("key")
  5. end
  6.  
  7. print("downloading and installing files")
  8. print("===================")
  9. print("")
  10.  
  11. if fs.exists("stripmine") == true then
  12. file()
  13. else
  14. shell.run("pastebin", "get", "UNkMQei7", "stripmine")
  15. end
  16.  
  17. if fs.exists("floor") == true then
  18. file()
  19. else
  20. shell.run("pastebin", "get", "DXsG7XYA", "floor")
  21. end
  22.  
  23. if fs.exists("wall") == true then
  24. file()
  25. else
  26. shell.run("pastebin", "get", "YfPCbg1p", "wall")
  27. end
  28.  
  29. if fs.exists("flatten") == true then
  30. file()
  31. else
  32. shell.run("pastebin", "get", "vK6FgTbC", "flatten")
  33. end
  34.  
  35. print("Would you like to download the password/protection program? (yes/no)")
  36. pass = string.lower(read())
  37.  
  38. if pass == "yes" then
  39. if fs.exists("startup") == true then
  40. file()
  41. else
  42. shell.run("pastebin", "get", "NgFKM6rR", "startup")
  43. end
  44. end
  45.  
  46. print("Would you like to download the stripmine test/edit program? (yes/no)")
  47. write("> ")
  48. test = string.lower(read())
  49.  
  50. if test == "yes" then
  51. if fs.exists("striptest") == true then
  52. file()
  53. else
  54. shell.run("pastebin", "get", "U3WQCpDr", "striptest")
  55. end
  56. end
  57.  
  58. print("installing complete")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement