I’m trying to make a macro that does two things:
1: Will make me autoattack my current target on keypress BUT not cancel on subsequent presses
(eg. so “/cast attack” won’t work, as it’ll stop attacking if I press it again)
For the auto-attack I used to use
/script if not IsCurrentAction(13) then UseAction(13) end;
Where 13 is the actionbar button with attack on, but doesn’t seem to work anymore. (May be ElvUI blocking it though??)
2: Will mark the current target as skull on keypress, and also will not remove marker on subsequent presses.
For the marker I know I can use this script to set the maker
/run SetRaidTarget(“target”, 8)
But, then pressing the button again will remove the marker from the target.
The ultimate goal is to have 1 button that’ll;
a) cast an ability [eg. heroic strike]
b) make me attack the target, but not stop attacking on subsequent press [if I don’t have rage for heroic strike, it won’t attack automatically]
c) mark my target as skull without removing it.

