Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("left")
- while true do
- id,message=rednet.receive()
- local num = 0
- if message == "trun" then
- id,message=rednet.receive()
- repeat
- turtle.forward()
- num = num + 1
- until num == message
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement