I figured out my other issue but I need help with this on.
I have at the moment this Macro:
/tar “player name” /cast Ironbark
This is great in raids when the Tank is fixed, but is there away I can write another Macro that casts Ironbark on the tank without need for Mouseover for when I do dungeons etc when the Tank is not fixed?
I use something similar for my rogues Tricks of the Trade, consisting of 2 macros:
Macro 1 (setting up the target for Macro 2):
/run for i=1,5 do local role=UnitGroupRolesAssigned("party"..i) if role=="TANK" then local name=GetUnitName("party"..i, true) local str="#showtooltip Tricks of the Trade\n/cast [@"..name.."] Tricks of the Trade" EditMacro("ToT",nil,nil,str,1,1) end end
Macro 2 (actually using the skill):
#showtooltip Tricks of the Trade
/cast [@name] Tricks of the Trade
So what I do is:
Press Macro 1 at the start of a dungeon to set the current tank as target for Macro 2.
Just use Macro 2 from now on and it automatically targets the tank.
In your case you would just replace Tricks of the Trade with Ironbark. It’s important the name of Macro 2 matches the name specified in Macro 1 (“ToT” in the example above).
Note: Setting up the target with Macro 1 only works out of combat.