This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Petbattle macro script
Post Reply
Return to board index
Post by
Phoeps
I am looking for an
if/else
pet battle macro incorporating conditionals. However - considering that pet-battles can't be "macrofied" the same way as as you would other stuff I suspect the only way to do it is through a /script.
The only problem is I have zero lua knowledge, and I haven't been able to find a suitable solution online.
So, I'm hoping someone inhere might be able to help :)
I am looking for a macro script that (...if translated to regular-macro-terms...) looks something like this:
/click combat],battleuibar] Forfeit battle
/click nocombat] Revive Battle Pets
The utility of the macro is gathering multiple actions on the same keybinding....
Post by
Ketho
I am looking for an
if/else
pet battle macro incorporating conditionals.
/run if C_PetBattles.IsInBattle() then C_PetBattles.ForfeitGame() end
/cast Revive Battle Pets
Post by
Phoeps
Thank you - it's works perfectly!
I wish more websites would dive into the information needed for players to learn the art of creating and use /scripting macros in addition to the surface level
/command
and
. It offers a whole new level of freedom.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.