Set Tricks of the Trades Target Macro
This is a two macro system, One macro to cast Tricks of the Trade and another to set the target of that macro.
NOTE: The set macro cannot be used in combat since the game will not allow macro editing during combat.
Step 1: Create a blank macro named TotT
Step 2: Create the following macro named as you please, for this example SeTTotT
/run ToT = UnitName("target")
/run if not InCombatLockdown() then EditMacro('TotT', nil, nil, '#showtooltip\n/cast [target='.. ToT ..'] Tricks of the Trade', nil); print('Tricks of the Trade set to : ' .. ToT); else print('Cannot change TotT now!'); end;
Usage :
* Target the player you want to set as your Tricks of the Trade recipient and use the set macro (SeTTotT), you will see a chatlog message confirming the macro worked.
* Use the TotT macro whenever you want to use Tricks of the Trade.