Posted 19 May 2012 - 06:24 AM
How can I make a turtle repeat a digging pattern until it reaches bedrock?
local d = 0
repeat
turtle.digDown()
d = d + 1
until not turtle.down()
for x=1, d do
turtle.up()
end