View difference between Paste ID: fUFgkMCh and QGHJ9r51
SHOW: | | - or go back to the newest paste.
1
while true do
2
data={turtle.inspect()}
3
if data~=nil then
4
if data[2].metadata==7 then
5
turtle.dig()
6
end
7
if turtle.getItemCount(1)>0 then
8
turtle.place()
9
end
10
end
11
sleep(0)
12
end