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