Macro help

im looking for some help on a mount macro i wanna have a macro that will summon between 2 ground mounts in a non flying area and 1 flying mount where flyable i want it to alternate in like dungeons between swift spectral tiger and magic rooster and anu’relos flame’s guidance when flying is present

#showtooltip
/castrandom [advflyable] [flyable] FLYING_MOUNT; GROUND_MOUNT_1, GROUND_MOUNT_2

i cant seem to get that to work

this is what i have atm not sure where i might have messed up
#showtooltip
/castrandom [advflyable] [flyable] Anu’relos, Flame’s Guidance; Swift Spectral Tiger, Magic Rooster

Looks correct, which part isn’t working? Keep in mind, Blizz is historically notorious for misclassifying older zones as flyable when they’re not.

im using the macro all over the place and nothing seems to happen so not exactly sure which part isnt working

Does the punctuation in that mount name cause issues for multi-function macros? Try using a different flying mount to test.

i think that does affect it but idk how else i would write it but its also not choosing the ground mounts in a ground area it just chooses the flying mount everytime

Oh yeah, you can’t use mounts that have commas in their names with castsequence or castrandom macros. Try the addon LiteMount instead.

i replaced the flying mount in the command and it would only summon the one i replaced the ground mount portion still wasnt working is there any way to do it via like spell id? tbh id rather not download another addon that would seems like i might have a lot of setting up

also i found a similar post that sounds like its kinda what i was trying to accomplish but i wouldnt know how to edit it to be with the mounts i wanted

Ya. You can use that same technique just gotta find the ids in your mounts

yeah im not sure where they got those ids i tried going to wowhead but those numbers dont seem to correspond with the mounts i tried their script thingy and one of them was a felsteel annihilator and none of those numbers match the spell id

i think i found the ids for the spectral tiger and the rooster and i changed that script to this

/run local t={0} if not SecureCmdOptionParse(“[advflyable] [flyable]”) then t={328,197} end C_MountJournal.SummonByID(t[random(#t)])
it still summons the flier in stuff like dungeons which i wanted it not to do

1818, it’s in the sidebar on the right of the mount page.

https://i.imgur.com/RTANj7c.png
/run local t={1818} if not SecureCmdOptionParse("[advflyable] [flyable]") then t={328,197} end C_MountJournal.SummonByID(t[random(#t)])

i see ty idk the command still only mounts the flier even in places like old silvermoon so im at a loss gonna have to cave and setup that addon i feel at this rate i really wanted just a macro