Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2014
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. rednet.open("right")
  2.  
  3. function run ()
  4. local i = 1
  5. while i < 32 do
  6. turtle.placeDown()
  7. turtle.forward()
  8. i = i + 1
  9. end
  10.  
  11. turtle.turnRight()
  12. turtle.forward()
  13. turtle.turnRight()
  14. i = 1
  15. while i < 32 do
  16. turtle.placeDown()
  17. turtle.forward()
  18. i = i + 1
  19. end
  20.  
  21. while true do
  22. senderId, message, protocol = rednet.receive()
  23.  
  24. if message == "go" then
  25. run()
  26.  
  27.  
  28. end
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement