Page 1 of 1
Macro to /Stop Attack

Posted:
Mon Jan 25, 2016 3:16 am
by Doomstriker
Hi there,
I'm trying to make the below macro (I have SuperMacro addon btw) so after both command lines have been executed, I can then bandage if I need to.
/Stopattack
/Cast Intimidating Shout
Of course, /stopattack doesn't work. Please tell me a command that will stop me from melee attacking
Thanks!
Re: Macro to /Stop Attack

Posted:
Mon Jan 25, 2016 3:30 am
by Youfie
/script ClearTarget();
/script TargetLasttarget();
You're welcome!

Re: Macro to /Stop Attack

Posted:
Fri Jan 29, 2016 5:14 am
by Doomstriker
[string "TargetLasttarget();"]:1: attempt to call global TargetLasttarget' (a nil value)
The error message above is what I get when I try to perform the below macro
/Script ClearTarget();
/Script TargetLasttarget();
/Cast Intimidating Shout
Re: Macro to /Stop Attack

Posted:
Fri Jan 29, 2016 7:17 am
by Axtroz
There's a typo. It's TargetLastTarget();
LUA functions are case sensitive.
Re: Macro to /Stop Attack

Posted:
Fri Jan 29, 2016 7:46 am
by Youfie
Axtroz wrote:There's a typo. It's TargetLastTarget();
LUA functions are case sensitive.
Oh yeah, my bad, forgot the capital T

Re: Macro to /Stop Attack

Posted:
Sat Jan 30, 2016 5:04 am
by Doomstriker
It works now, thanks!
/Script ClearTarget();
/Script TargetLastTarget();
/Cast Intimidating Shout