Advertisement
greenking2000

Mining turtle menu selector

Jun 30th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.53 KB | None | 0 0
  1. -- https://pastebin.com/s9Yp5mXt --
  2. --Menu--
  3. print("Enter tunnel size")
  4. print("1 - 1x1")
  5. print("Efficiency=2")
  6. print()
  7. print("2 - 1x2")
  8. print("Efficiency=1.5")
  9. print()
  10. print("3 - 3x3")
  11. print("Efficiency=1.111")
  12. print()
  13. print("Var-Variable")
  14.  
  15. tunnelsize=read()
  16.  
  17. if tunnelsize=="1" then
  18.     do
  19.         shell.run("Tunnel1")
  20.     end
  21. end
  22.  
  23. if tunnelsize=="2" then
  24.     do
  25.         shell.run("Tunnel2")
  26.     end
  27. end
  28.  
  29. if tunnelsize=="3" then
  30.     do
  31.         shell.run("Tunnel3")
  32.     end
  33. end
  34.  
  35. if tunnelsize=="Var" then
  36.     do
  37.         shell.run("Variable")
  38.     end
  39. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement