May a macro behave differently based on mounted or not?

I understand that rightfully so the macro interface is limited. There would definitely be players writing auto play buttons otherwise. All I’m trying to do is write a macro that puts my mount speed increasing items on and removes them when I dismount. Currently, I have two macros for each of these. Is this possible with the macro interface?

I know of the Mounted conditional, but there’s no way to remove the mount buff with that right?

/dismount [mounted]

Dismounts when Mounted.

There is a way, to remove buffs as well, but i would need to look for that, i think its /cancelaura but i am not sure what it removes. The /dismount works on all mounts to … dismount you :stuck_out_tongue_winking_eye:

Read the pins, this is covered.