Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- c=peripheral.wrap("right")
- while true do
- x,y,z=rednet.receive()
- if y=="Forward" then
- turtle.forward()
- end
- if y=="Back" then
- turtle.back()
- end
- if y=="Left" then
- turtle.turnLeft()
- end
- if y=="Right" then
- turtle.turnRight()
- end
- if y=="Up" then
- turtle.up()
- end
- if y=="Down" then
- turtle.down()
- end
- if y=="Dig" then
- turtle.dig()
- end
- if y=="Place" then
- turtle.place()
- end
- if y=="Chat" then
- x,y,z=rednet.receive()
- print(y)
- c.say(y)
- end
- sleep(0.2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement