Olon97,Apr 21 2005, 07:41 PM Wrote:On a related note, does anyone have a short bit of code/macro that would give an "attack" command that's not a toggle?
Something like:
if( not AlreadyAttackingMyTarget() ) then
attack();
else
-- leave it be, nothing else to do
end
[right][snapback]74750[/snapback][/right]
A quick glance through the World Of Warcraft API didn't turn up anything that looked like it would indicate whether or not you were attacking.
But I did have an idea. Check the box which is Attack On Assist in your interface options, then write a macro like this one:
/script AssistUnit("player")
This would assist yourself, and attack on assist might do the trick (assuming of course you have a valid target before you hit the macro).
It is at least worth a try.
edit: redundant wording