This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
hblade's profile picture

i cant see why this program dose not work

Started by hblade, 30 August 2012 - 05:24 PM
hblade #1
Posted 30 August 2012 - 07:24 PM
hey guys this program is not finished yet but i cant get it to work any one see what i am missing. thanks

function WB()
for a=1,6 do
turtle.placeDown
turtle.forward
end
turtle.turnRight
end
function LVL()
for b=1,4 do
WB()
end
end
for c=1,5 do
LVL()
turtle.up
end
ardera #2
Posted 30 August 2012 - 07:50 PM
you have to add brackets behind a function, fixed code:

function WB()
for a=1,6 do
turtle.placeDown()
turtle.forward()
end
turtle.turnRight()
end
function LVL()
for b=1,4 do
WB()
end
end
for c=1,5 do
LVL()
turtle.up()
end
hblade #3
Posted 30 August 2012 - 08:43 PM
i can not belive i did that lol. thank you so much i looked for a hr and could not see that i had missed that little part