Talk:Turtle API/@comment-66.76.156.105-20120906170226/@comment-64.64.164.141-20120907175744

sry it didnt keep the line brakes:

go = 1

while go == 1 do

if turtle.detect then

turtle.dig

else

turtle.forward

end

end