Posted 08 June 2013 - 03:51 PM
Im pretty sure i have messed up somewere…
and my error is
i cant see where ive gone wrong…
print("Stating...")
local function pos()
turtle.dig()
turtle.forward()
end
local function tree()
while turtle.detectUp() == false do
turtle.digUp()
turtle.up()
end
local function down()
while turtle.detectDown() == false do
turtle.down()
end
local function between()
while turtle.detect() == false do
turtle.forward()
end
for x = 1, 5 do
tree()
descend()
between()
pos()
end
and my error is
bios:338: [string "chop"]:28: 'end' expected (to close 'function' at mine 18)
i cant see where ive gone wrong…