Posted 22 March 2012 - 11:22 AM
I am trying to make a automatic turtle chopper thinigi XD what i want it to do is to chop down a tree and then put down a sapling and with help from redpower 2 i can make the sapling to grow but i cant make a loop so it continiuse :/ this is what i havve done:
while turtle.detect() do
turtle.digUp()
turtle.dig()
turtle.up()
end
while not turtle.detect() do
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.place()
rs.setBundledOutput("back",colors.white)
sleep(1)
rs.setBundledOutput("back",0)
end
its bad because i started yesterday and i know nothing about scripting XD sorry :S and sorry for my bad english im fom sweden :(/>/>
while turtle.detect() do
turtle.digUp()
turtle.dig()
turtle.up()
end
while not turtle.detect() do
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.down()
turtle.place()
rs.setBundledOutput("back",colors.white)
sleep(1)
rs.setBundledOutput("back",0)
end
its bad because i started yesterday and i know nothing about scripting XD sorry :S and sorry for my bad english im fom sweden :(/>/>