Posted 27 September 2012 - 01:46 AM
Hey guys, I know this is easy for the most of you but I am new to LUA and I been trying to fix this for a hour now so I decided to just ask it on the forums..
I have this simple code :
And it gives me the error :
(Same error happends when I add or remove a 'end')
I dont get it, what am I doing wrong?
Thanks!
I have this simple code :
repeat
if turtle.detect() then
turtle.dig()
else
turtle.forward()
until 2 > 3
end
end
And it gives me the error :
bios:206: [string "test"]:7: 'end' expected (to close 'if' at line 3)
(Same error happends when I add or remove a 'end')
I dont get it, what am I doing wrong?
Thanks!