Posted 24 July 2013 - 02:35 PM
Need to know how to let the code keep going as a redstone has been activated from the "left" of the turtle.
what i have so far (not "all" of it, just a sample):
Full code:
what i have so far (not "all" of it, just a sample):
if rs.Input("left") then
turtle.forward()
sleep(2)
turtle.back()
end
but i cant get it to run, it just displays "call nill"Full code:
if rs.getInput("left") then
turtle.forward()
sleep(1)
turtle.forward()
sleep(1)
turtle.forward()
sleep(1)
turtle.select(1)
turtle.placeDown()
turtle.turnRight()
turtle.place()
turtle.turnLeft()
turtle.turnLeft()
turtle.place()
turtle.up()
turtle.placeDown()
turtle.select(2)
turtle.place()
turtle.turnRight()
turtle.turnRight()
turtle.place()
turtle.turnLeft()
turtle.back()
turtle.place()
turtle.down()
turtle.back()
turtle.back()
sleep(120)
end