Advertisement
ecco7777

rescue

Feb 21st, 2015
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. while true do
  2. turtle.select(1)
  3. if turtle.compareDown() == false then
  4. turtle.select(2)
  5. if turtle.compareDown() then
  6. turtle.turnRight()
  7. turtle.turnRight()
  8. turtle.forward()
  9. turtle.turnRight()
  10. end
  11. turtle.select(3)
  12. if turtle.compareDown() then
  13. while turtle.detectUp() == false do
  14. turtle.up()
  15. end
  16. end
  17. if turtle.detect() == false then
  18. turtle.forward()
  19. else
  20. turtle.turnLeft()
  21. if turtle.detect() == false then
  22. turtle.forward()
  23. else
  24. turtle.turnRight()
  25. turtle.turnRight()
  26. turtle.forward()
  27. end
  28. end
  29. end
  30. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement