Advertisement
samh111

Better mining turtle program

Jan 1st, 2013
457
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. print("Mining...")
  2. cond = 1
  3. while cond ~= 50 do
  4. turtle.dig()
  5. turtle.digDown()
  6. turtle.digUp()
  7. turtle.forward()
  8. cond = cond + 1
  9. end
  10. if cond == 50 then
  11. turtle.turnLeft()
  12. turtle.turnLeft()
  13. while cond ~= 100 do
  14. cond = cond + 1
  15. turtle.forward()
  16. end
  17. end
  18. print("Finished!")
  19. print("Created By Samh111! Thank You For Using My Miner!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement