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