View Single Post
08-30-21, 12:23 PM   #2
plopek
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations
Join Date: Aug 2014
Posts: 18
I've been able to figure it out myself after quick search on StackOverflow - \n acts as enter.
Lua Code:
  1. /run T = UnitName("target")
  2. /run if not InCombatLockdown() then EditMacro('Tricks', nil, nil, '/cast [@'.. T ..',exists]Tricks of the Trade\n/cast Shadowstrike', nil); print('Tricks_Setup: ' .. T); end;
  Reply With Quote