Advertisement
Guest User

Untitled

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