Hey Ownedcore! In this thread i'll be showing you how to create a macro that will choose a random mount for you with just one click, and will also chose a mount appropriate to the zone you're in.
First of all, you'll be needing 3 macros and 3 free action bar slots. Two of them you won't be using manually so they can be placed out of the way. One will be the main one containing the script and the other two will be the list of mounts this macro will choose from. One of these is for flying mounts, and the other one is for ground mounts.
Now, in your Flying mount macro you want it to look like this:
/castrandom flying mount 1, flying mount 2, flying mount 3,
and so on. Bear in mind you must have the full name of the mount written in, and the mounts must be able to fly.
Your ground mount macro should look the same, but instead with ground-only mounts. So:
/castrandom ground mount 1, ground mount 2, ground mount 3
each mount name should be separated by a comma then a space. In the ground mount macro, mounts that can fly and also work in ground-mount only zones such as battlegrounds (e.g. the X-53 rocket) can also be used.
Now, here's where you use the main macro.
Mouse over the slots where you've put the other macros and use this macro:
/print GetMouseFocus():GetName()
In the chat box, the name of the button will appear. This works for addons such as Razer Naga or Bartender. After doing this for both, go to the main macro and type:
/click [noswimming,noflyable] name of ground mount macro's slot
/cast [swimming] Abyssal Seahorse (or any other water mounts you have, such as Poseidus or the Turtle, in which case you need to use /castrandom)
/castrandom [swimming] name of flying mounts that can be used while swimming
/click [flyable] name of flying mount macro's slot
/script VehicleExit ()
/dismount [mounted]
Now, when you click this main macro it will use a mount at random from the appropriate macro (my collection is excessive, so riding around on the same one becomes boring).
If you're in a BG or isle of quel'danas etc., it will use a ground mount, if you're in the normal game world it will use a flying mount and if you're in Vashj'ir it will use the seahorse.
I hope you can find this useful! Thanks for reading!