Ive been having trouble with this code i got from direwolf20, when i start the "cycle" program it comes up with bios:338: [string "cycle"]:9: syntax error
I dont know what this means and i checked line 9 but couldnt figure it out.
here's the code:
I dont know what this means and i checked line 9 but couldnt figure it out.
here's the code:
Code:
function deploy()
turtle.select(1)
turtle.place()
end
function clearInv()
for i = 1, 10 do
turtle,select(i)
turtle.dropDown()
end
turtle.select(1)
end
function getMiner()
turtle.select(1)
turtle.dig()
end
deploy()
sleep(10)
ClearInv()
getMiner()