Advertisement
XxLen_KagaminexX

Reactor Setup

Dec 19th, 2017
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.70 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1, 1)
  3. print("=============")
  4. print("Reactor Setup v1.0")
  5. print("=============")
  6. print("Which Reactor Setup would you like to run?")
  7. print("MKI")
  8. print("MKII")
  9. print("MKIII")
  10. print("MKIV")
  11. print("ALL")
  12. print("=============")
  13. input = read()
  14. if input == "MKI" then
  15.   shell.run("cd disk")
  16.   shell.run("MKI")
  17.   end
  18. if input == "MKII" then
  19.   shell.run("cd disk")
  20.   shell.run("MKII")
  21.   end
  22. if input == "MKIII" then
  23.   shell.run("cd disk")
  24.   shell.run("MKIII")
  25.   end
  26. if input == "MKIV" then
  27.   shell.run("cd disk")
  28.   shell.run("MKIV")
  29.   end
  30. if input == "ALL" then
  31.   shell.run("bg MKI")
  32.   shell.run("bg MKII")
  33.   shell.run("bg MKIII")
  34.   shell.run("bg MKIV")
  35.   end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement