Posted 30 August 2012 - 04:50 AM
I'm trying to make a program that makes a turtle pop out of the wall whenever a button is pushed. This is what I have so far.
Is there any way to make it loop infinitely?
if redstone.getInput("left") == true then
turtle.digUp()
turtle.up()
turtle.up()
sleep(3)
turtle.down()
turtle.down()
turtle.placeUp()
elseif redstone.getInput("left") == false then
end
Is there any way to make it loop infinitely?