Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2014
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. distance = args[1] + 1
  2.  
  3. print("Digging forward for " .. distance .. " blocks.")
  4.  
  5. for i=1,distance do
  6. turtle.dig()
  7. turtle.digUp()
  8. turtle.digDown()
  9. turtle.forward()
  10. end
  11.  
  12. print("Job Complete.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement