Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- while true do
- id,message = rednet.receive()
- if id == 1 then
- if message == "left" then
- turtle.turnLeft()
- end
- if message == "right" then
- turtle.turnRight()
- end
- if message == "up" then
- turtle.up()
- end
- if message == "down" then
- turtle.down()
- end
- if message == "forward" then
- turtle.forward()
- end
- if message == "back" then
- turtle.back()
- end
- if message == "place" then
- turtle.placeDown()
- end
- if message == "dig" then
- turtle.dig()
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement