This will allow you to use flying mounts, ground mounts and underwater mounts where necessary. Simply replace "g" with the number of the ground mount, "f" for flying and "s" for swimming. to find the number open your spell book and the mounts are numbered from left to right, top to bottom. You can have as many mounts as will fit in the 250 char limit. This script will call a random mount from the proper subset.
**Warning** the "/dismount" at the end WILL dismount you while flying
/run if not IsMounted() then local g,f,s={g,g,g},{f,f,f},{s,s,s} local t=(GetCurrentMapAreaID()==(610 or 614 or 615) and IsSwimming()) and s or (IsFlyableArea() and not IsShiftKeyDown()) and f or g CallCompanion("MOUNT",t[random(#t)]) end
/dismount
**Warning** the "/dismount" at the end WILL dismount you while flying
/run if not IsMounted() then local g,f,s={g,g,g},{f,f,f},{s,s,s} local t=(GetCurrentMapAreaID()==(610 or 614 or 615) and IsSwimming()) and s or (IsFlyableArea() and not IsShiftKeyDown()) and f or g CallCompanion("MOUNT",t[random(#t)]) end
/dismount