Posted 18 June 2012 - 06:29 AM
I am getting this error:
bios:206: [string "mine"]:22:syntax error
Here is my code:
local num = 1
while num < 10 do
turtle.dig()
turtle.forward()
num = num + 1
end
turtle.turnRight()
turtle.dig()
turtle.forward()
turlte.turnRight()
local num2 = 1
while num2 < 10 do
turtle.dig()
turtle.forward()
num2 = num2 + 1
end
turtle.turnLeft()
turtle.dig()
turtle.forward()
turtle.turnLeft()
local num3 = 1
while num3 < 10 do
turtle.dig()
turtle.forward()
num3 = num3 + 1
end
turtle.turnRight()
turtle.dig()
turtle.forward()
turtle.turnRight()
local num4 = 1
while num4 < 10 do
turtle.dig()
turtle.forward()
num4 = num4 + 1
end
turtle.turnLeft()
turtle.dig()
turtle.forward()
turtle.turnLeft()
local num5 = 1
while num5 < 11 do
turtle.dig()
turtle.forward()
num5 = num5 + 1
end
turtle.turnLeft()
local num6 = 1
while num6 < 5 do
turtle.dig()
turtle.forward()
num6 = num6 + 1
end
turtle.turnRight()
bios:206: [string "mine"]:22:syntax error
Here is my code:
local num = 1
while num < 10 do
turtle.dig()
turtle.forward()
num = num + 1
end
turtle.turnRight()
turtle.dig()
turtle.forward()
turlte.turnRight()
local num2 = 1
while num2 < 10 do
turtle.dig()
turtle.forward()
num2 = num2 + 1
end
turtle.turnLeft()
turtle.dig()
turtle.forward()
turtle.turnLeft()
local num3 = 1
while num3 < 10 do
turtle.dig()
turtle.forward()
num3 = num3 + 1
end
turtle.turnRight()
turtle.dig()
turtle.forward()
turtle.turnRight()
local num4 = 1
while num4 < 10 do
turtle.dig()
turtle.forward()
num4 = num4 + 1
end
turtle.turnLeft()
turtle.dig()
turtle.forward()
turtle.turnLeft()
local num5 = 1
while num5 < 11 do
turtle.dig()
turtle.forward()
num5 = num5 + 1
end
turtle.turnLeft()
local num6 = 1
while num6 < 5 do
turtle.dig()
turtle.forward()
num6 = num6 + 1
end
turtle.turnRight()