Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2014
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. rednet.open("right")
  2. while true do
  3. id,cmd = rednet.receive()
  4. if (cmd == "e") then
  5. turtle.forward()
  6. end
  7. if (cmd == "q") then
  8. turtle.turnLeft()
  9. end
  10. if (cmd == "d") then
  11. turtle.turnRight()
  12. end
  13. if (cmd == "s") then
  14. turtle.back()
  15. end
  16. if (cmd == "c") then
  17. turtle.dig()
  18. end
  19. if (cmd == "x") then
  20. turtle.digDown()
  21. end
  22. if (cmd == "u") then
  23. turtle.up()
  24. end
  25. if (cmd == "j") then
  26. turtle.down()
  27. end
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement