How to run an in-game macro through command? Tried lots of things, couldn't make it work.
Can someone help me, for both lua commands?
RunMacro("MacroName")
RunMacroText("RunMacroTextName")
Thanks in advance!
How to run an in-game macro through command? Tried lots of things, couldn't make it work.
Can someone help me, for both lua commands?
RunMacro("MacroName")
RunMacroText("RunMacroTextName")
Thanks in advance!
Don't think there's a way to do it really. What I do is just run whatever was in the macro right in the Spell section like this:
The part "/stopattack\n/petfollow" is the macro. If you have multiple lines separate them with "\n", without any spaces or it will go to /say if you do.Code:{ "/stopattack\n/petfollow", { "modifier.last(Feign Death)", }, },
Any macro can be run like that.Code:-- Death Pact Macro, Last Resort { "/cast Raise Dead\n/cast Death Pact", { "player.health < 35", "player.spell(Death Pact).cooldown", "player.spell(Raise Dead).cooldown", "player.spell(Death Pact).usable", }},
ProbablyEngine - Developer and Lead Support
A Powerful Rotation Bot: ProbablyEngine
Thanks a lot =)
Is it possible to make ma macro like this:
/cast [target=lowest] Swiftmend if lowest.health < 50