im trying to buld a house with this. im making a function to build the floor but it gives me that error. How could i do this instead?
function forward() for i= 0,x and x>=1 do turtle.forward() turtle.digDown() turtle.select(1) turtle.placeDown() end end function floor() forward() turtle.turnLeft() x= x-1 turtle.turnLeft() forward() turtle.turnLeft() forward() turtle.turnLeft() end floor()http://pastebin.com/LduN6mux
Edited by Bubba, 12 September 2013 - 07:14 PM.
Added code tags.












