Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Variables
- local TunnelLenght = 0
- --Functions
- init = function()
- TunnelLenght = 0
- term.clear()
- term.setCursorPos(1,1)
- print("Enter tunnel lenght:")
- TunnelLenght = read()
- rednet.open("back")
- rednet.host("excavatorCom","excavatorServer")
- rednet.broadcast(TunnelLenght,"excavatorCom")
- end
- --Main stuff
- init()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement