Board Thread:Questions and Answers/@comment-81.151.98.208-20121231132750/@comment-82.12.238.221-20121231192546

place a sample of what you want it to mine in the inventory

If you put the wood into slot 1 and position the mining turtle facing a block of wood of the same block ID, your code should look similar to:-

function chopWood

turtle.select(1)

if turtle.compare then

turtle.dig

end

end