Mouseover issue with macros

Hoping someone more knowledgable than me can help with form macros, maybe it’s too ambitious an idea but I’m trying to make some macros that will also toggle the ability depending on my stance/form, but I’m running into trouble with mouseover problems.

I have mouseover casting enabled in the settings, but the macros don’t recognise this setting apparently, so I tried adding [@mouseover] to the macros, but then I encounter problems like with this macro:

`#showtooltip /cast [@mouseover,exists] [stance: 0] Wild Growth; [stance: 1/2] Thrash; [stance: 4] Wild Mushroom;`

Since Wild Growth is defined first, if I’m in moonkin form it will try to cast Wild Growth before Wild Mushroom, even though I attempt to define the stance per ability.

If I remove @mouseover, the macro works, but then I can’t mouseover cast. I’ve tried also within each stance condition defining things like @mouseover,help or @mouseover,harm etc. but they also seem to break the logic. I’ve also tried changing the order of defined abilities, but I encounter the same issue in reverse then.

Long story short I’m trying to solve button bloat on my hotbars and want a working macro that I can also mouseover with, that changes depending on my form. Maybe someone can teach me how to properly write macros or at least point me in the direction to a source of info where I can understand macro conditions better.

The exists conditional should be replaced with help so it only registers as true if the mouseover is friendly. I’d also recommend using “form” instead of “stance” as it’s 1 fewer character which doesn’t sound like much but could make a difference if you start going wild. Speaking of which, I also added Wild Mushroom when you’re not in form:

#showtooltip /cast [@mouseover,help,form:0] Wild Growth;[form:1/2] Thrash;[form:0/4] Wild Mushroom;

I did something similar a few years ago, but abandoned the idea of combining healing spells with damage spells as I would accidently cast healing spells on players who ran over my mouse cursor in the heat of battle.

Now I have my direct healing spells mainly as click casting. So Shift+Left Click is rejuvenation for example. You can set up click casting in the main menu under options - keybindings.

This is a good site for seeing the different conditionals when building macros

I also used to keep a google sheet of the macros I’ve built for various classes/specs. It’s not been updated in a couple of years but it could provide some inspiration:

Appreciate the help Heehaw thank you!