Not exactly what you’re looking for but it’s a good starting Point;
#showtooltip
/cast [nocombat,nostealth] Prowl; Cat Form
If you’re not in combat or stealth it’ll cast Prowl (putting you into cat form and stealthing you) otherwise it will just cast Cat Form which will either change you into or out of Cat Form depending on current.
We can “abuse” the fact that casting Prowl will automatically turn you into a cat too. But there’s no way to detect an active buff or if spell is allowed to be cast.
So you’ll have to manually try casting Prowl when Incarnation is active.
You can’t make macro conditionals with active buffs, which means we can’t make it do different things depending on wether or not you have Incarnation up.
Prowl already puts you into cat form, so there’s no need of a macro for this.
This macro will cast Prowl when out of combat, and Cat Form when you’re in combat:
#showtooltip
/cast [nocombat] Prowl; [combat] Cat Form
Alright, again perhaps i did not expressed myself clearly enough.
Back in the day before Legion killed off powershifting I used a single macro for everything that Catform does.
Out of combat enter catform, prowl or disable prowl (with just 2 clicks)
When in combat it was powershifting and later i added function to enable prowl from incarnation.
Later on for some reason that macro stopped working.
That is what i was looking for.
Yes we can, well i did anyway. I fixed my macro.
Added /cast [combat,stance:2] Prowl; [combat] !Cat Form - to it and it’s working exactly how i wanted