Need help with a Hunter macro, if it's even possible

I’m looking to have the pet (or whistle, since it seems to be the only thing to show) show when I have no pet, and switch to MAster’s Call when I have one out. I’ve so far been successful having Master’s Call show when summoned, but all I get when I have no pet is the red question mark of failure.

This is what I have so far:

#showtooltip
#showtooltip Master’s Call(Command Pet Ability)
/cast Call Pet 1
/cast Master’s Call(Command Pet Ability)
/run local G=GetSpellInfo SetMacroSpell("G"Master’s Call(Command Pet Ability)) or (“G"Call Pet 1”)

I know the 2nd line is what’s making MC show when I summon, I’ve tried half a dozen different #show commands to try and milk. I’m not even sure the “/run local G” works, since I borrowed it from a talent macro I saw that changes tooltip based on Talent. So I’m wondering if there’s a similar way to update skills? Any help would be greatly appreciated, thank you in advance!

Way overcomplicating this.

#showtooltip
/use [pet]Command Pet;Call Pet 1

Check this sticky in the UI & Macro Forums.
https://us.forums.blizzard.com/en/wow/t/macros-essential-information/21139

2 Likes

Thank you very much!

1 Like