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

Need an Attack Command for Melee Turtle

Started by Svangen, 05 February 2014 - 09:22 PM
Svangen #1
Posted 05 February 2014 - 10:22 PM
I working on a Soul Shard Blaze Tier 5 Spawner and I would like to be able to go AFK and get XP whilst a Melee turtle kills the blaze but I don't know a program to do so. PLZ help!

I'd assume it would be something along the lines of turtle.attack() but I'm not sure how to implement it into my design. Because I don't have a program to do so. PLZ help.
CometWolf #2
Posted 06 February 2014 - 04:00 AM
You're gonna have to describe how you want the turtle to behave, in more detail than just attack. Otherwise, this should suffice.

while true do
  turtle.attack()
end
Do note however, that Ask a pro isn't meant for program requests. Please try making it yourself first, next time.
Svangen #3
Posted 06 February 2014 - 04:06 PM
i want it to:

attack, then drop items into a chest below it, and repeat.

ps thnx for the quick resopnse :)/>