Posted 07 July 2012 - 01:52 AM
a = 0
for i = 1,383 do
turtle.dig()
turtle.forward()
turtle.digUp()
if a == 6 then
if turtle.detectDown() then
turtle.back()
turtle.select(1)
turtle.place()
end
a = 0
turtle.forward()
else
a = a + 1
end
end
This returns
bios :206: [string "tunnel"]:11: '=' expected
for i = 1,383 do
turtle.dig()
turtle.forward()
turtle.digUp()
if a == 6 then
if turtle.detectDown() then
turtle.back()
turtle.select(1)
turtle.place()
end
a = 0
turtle.forward()
else
a = a + 1
end
end
This returns
bios :206: [string "tunnel"]:11: '=' expected