Advertisement
Guest User

down

a guest
May 22nd, 2015
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. depth = 0
  2.  
  3. repeat
  4.   turtle.digDown()
  5.   turtle.down()
  6.   shell.run("checker")
  7.   depth=depth+1
  8.   a,b = turtle.inspectDown()
  9. until b.name=="minecraft:bedrock"
  10.  
  11. while(depth>0) do
  12.   shell.run("checker")
  13.   if(turtle.up()) then
  14.     depth=depth-1
  15.   end
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement