Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- peripheral.find("modem")
- rednet.open("left")
- while true do
- sid,msg,prot = rednet.receive(.5)
- if prot == "init" then
- print(msg)
- os.sleep(2)
- for i = 1 ,tonumber(msg) do
- while turtle.detect() do
- turtle.dig()
- end
- turtle.forward()
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement