Dragonriding and spells/abilitys into one macro

Ok so I’ve done research of my own to make spell/abilities and dragonriding buttons into one, so I did some tests on the macro I made and it worked so I decided to share this, if it works for you then yw

#showtooltip
/cast smite
/use surge foward

#showtooltip
/cast holy fire
/use whirling surge

You have a dragonriding bar by default that replaces your main bar. I suspect you can condition this with

#showtooltip
/use [bonusbar:1] surge forward; smite

You’ll have to find out what the bonusbar number has to be, because I don’t think 1 is correct

note that your first macro has foward instead of forward

If you were just using this on the dragonriding bar, you could condition it with [mounted], though I suspect the intent is that op wants these buttons while grounded to initiate combat so doesn’t want to condition them

Wouldn’t that risk dismounting mid-air on certain abilities?