Macro that edit targets name
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:
Lua Code:
Lua Code:
Does anyone know if that possible? Thank you in advance. |
I've been able to figure it out myself after quick search on StackOverflow - \n acts as enter.
Lua Code:
|
Can you not use focus for this? You set focus using a keybind then write a macro to target it.
Code:
/cast [@focus,help,nodead] Tricks of the Trade I have the intended tank set as focus at all times and use the macro as posted. |
Focus doesn't really work for me in this case, because I use it for interrupts.
Thanks for the input, tho :) |
Change it to @target then, instead of @focus.
|
Yeah, why are you not using @target if you just want it to be the name of your target anyway?
|
From what I see, they're using the two macros as an extra pseudo-focus.
|
All times are GMT -6. The time now is 09:55 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI