Advertisement
Guest User

Wireless Shear Turtle

a guest
May 24th, 2015
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. rednet.open("right")
  2.  
  3. while true do
  4. id,message = rednet.receive()
  5. if id == 1 then
  6. if message == "left" then
  7. turtle.turnLeft()
  8. end
  9. if message == "right" then
  10. turtle.turnRight()
  11. end
  12. if message == "up" then
  13. turtle.up()
  14. end
  15. if message == "forward" then
  16. turtle.forward()
  17. end
  18. if message == "back" then
  19. turtle.back()
  20. end
  21. if message == "place" then
  22. turtle.placeDown()
  23. end
  24. if message == "dig" then
  25. turtle.dig()
  26. end
  27. end
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement