Posted 16 April 2013 - 08:24 AM
Hello Everyone,
I'm upgrading my Diggy Turtle (DDP)
And I have an Error:
Code:
Does anyone know the Solution?
I'm upgrading my Diggy Turtle (DDP)
And I have an Error:
bios:337: [string "Diggy"]:14: 'then' expected
Code:
print('Working!')
for i = 1,21 do
turtle.refuel(1) -- Refueling the Turtle
turtle.dig()
turtle.forward()
turtle.dig()
turtle.forward()
end
if inventory = 2, 4 then
turtle.select(i)
turtle.dropdown()
end
turtle.turnRight()
turtle.turnRight()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.turnLeft()
turtle.turnLeft()
print('Done')
Does anyone know the Solution?