Need help with turtles. Walk me through how to make a melee turtle attack everything and deposit stuff into a chest below it.
This is what I found on the forums, I type in and it doesn't work. Help
__________
whiletruedo turtle.attack()end
This will make the turtle attack everything in front of it (including you!) endlessly, you have to terminate it by holding ctrl+T if you want to end the program. Fill the turtles inventory with cobblestone and it wont be able to pick up items.
If you want it to pick up items and drop it into a chest directly below the turtle, use this:
whiletruedo turtle.attack() i = turtle.getItemCount(16)if i ==64thenfor j=1,16do turtle.select(j) turtle.drop()end turtle.select(1)endend
_____
Thanks
This is what I found on the forums, I type in and it doesn't work. Help
__________
whiletruedo turtle.attack()end
This will make the turtle attack everything in front of it (including you!) endlessly, you have to terminate it by holding ctrl+T if you want to end the program. Fill the turtles inventory with cobblestone and it wont be able to pick up items.
If you want it to pick up items and drop it into a chest directly below the turtle, use this:
whiletruedo turtle.attack() i = turtle.getItemCount(16)if i ==64thenfor j=1,16do turtle.select(j) turtle.drop()end turtle.select(1)endend
_____
Thanks