Mount only, no dismounting toggle

How do I make a macro for mounting but not dismounting if I press it again?

#showtooltip My Pretty Pony
/cast [nomounted] My Pretty Pony

1 Like