Posted 26 December 2013 - 03:33 PM
Hi
i wanted to make my first lua script ever on an turtle here it is :
but it doesn't works
it says -tunneldown:8: attempt to call boolean
i dont know what's wrong ?
any idea what it could be ?
i wanted to make my first lua script ever on an turtle here it is :
local DIGDOWN = turtle.digDown()
local DIGUP = turtle.digUp()
local TURNLEFT = turtle.turnLeft()
local TURNRIGHT = turtle.turnRight()
local VOORUIT = turtle.forward()
function TUNNEL()
DIGDOWN()
TURNRIGHT()
VOORUIT()
TURNLEFT()
DIGDOWN()
VOORUIT()
DIGDOWN()
TURNLEFT()
VOORUIT()
DIGDOWN()
VOORUIT()
DIGDOWN()
TURNLEFT()
VOORUIT()
DIGDOWN()
VOORUIT()
DIGDOWN()
TURNLEFT()
VOORUIT()
DIGDOWN()
VOORUIT()
DIGDOWN()
VOORUIT()
TURNLEFT()
VOORUIT()
TURNRIGHT()
end
TUNNEL()
but it doesn't works
it says -tunneldown:8: attempt to call boolean
i dont know what's wrong ?
any idea what it could be ?