MattiaTrovato

CCExcavatorPocket

Mar 24th, 2019
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. --Variables
  2. local TunnelLenght = 0
  3.  
  4. --Functions
  5. init = function()
  6. TunnelLenght = 0
  7. term.clear()
  8. term.setCursorPos(1,1)
  9. print("Enter tunnel lenght:")
  10. TunnelLenght = read()
  11. rednet.open("back")
  12. rednet.host("excavatorCom","excavatorServer")
  13. rednet.broadcast(TunnelLenght,"excavatorCom")
  14. end
  15. --Main stuff
  16. init()
Add Comment
Please, Sign In to add comment