So I have a macro/script that ads a name of the target in another macro specified in the code to cast Tricks of the Trade on that target.
1).
Lua Code:
/run T = UnitName("target")
/run if not InCombatLockdown() then EditMacro('Tricks', nil, nil, '/cast [@'.. T ..',exists]Tricks of the Trade', nil); print('Tricks_Setup: ' .. T); end;
2).
Lua Code:
/cast [@Plopek,exists]Tricks of the Trade
I would like to be able to add another "/cast Shadowstrike" line like you would normally do by pressing enter - so it would look like that after pressing first macro:
Lua Code:
/cast [@Plopek,exists]Tricks of the Trade
/cast Shadowstrike
Does anyone know if that possible?
Thank you in advance.