Advertisement
alexhorner

Installer

Jun 26th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.93 KB | None | 0 0
  1. print("Installing stuff...")
  2.  
  3. print("Typing 'yes' at any prompt accepts, typing anything else denies.")
  4.  
  5. print("Do you want NMS?")
  6. if read() == "yes" then
  7.     if fs.exists("/nms") then
  8.         fs.delete("/nms")
  9.     end
  10.     shell.run("pastebin get dF96Qw0M /nms")
  11. end
  12.  
  13. print("Do you want NMSMon?")
  14. if read() == "yes" then
  15.     if fs.exists("/nmsmon") then
  16.         fs.delete("/nmsmon")
  17.     end
  18.     shell.run("pastebin get LLZztcFN /nmsmon")
  19. end
  20.  
  21. print("Do you want NMSReqAPI?")
  22. if read() == "yes" then
  23.     if fs.exists("/nmsreqapi") then
  24.         fs.delete("/nmsreqapi")
  25.     end
  26.     shell.run("pastebin get ZFh7e3E5 /nmsreqapi")
  27. end
  28.  
  29. print("Do you want the DNI updater?")
  30. if read() == "yes" then
  31.     if fs.exists("/dniupdater") then
  32.         fs.delete("/dniupdater")
  33.     end
  34.     shell.run("pastebin get WF5wy3vh /dniupdater")
  35. end
  36.  
  37. print("Downloading config to '/dniconf' ...")
  38. shell.run("pastebin get ttsWUYW4 /dniconf")
  39.  
  40. print("Installation complete! PLEASE UPDATE YOUR CONFIG!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement