Herb / mining macro?

#0 - Oct. 26, 2006, 7:11 p.m.
Blizzard Post
Can someone pls post a macro wich let you toggle between find minerals and find herbs?
So when i press the button it will change to wichever of the two who isn't active?

Edit: Can't type ^^
#2 - Oct. 27, 2006, 9:47 a.m.
Blizzard Post
This is an interesting point; I'm not even sure you CAN detect which of these is active, since they're not real buffs..
#10 - April 17, 2007, 4:38 p.m.
Blizzard Post
Looks like he meant either:
/script if (GetTrackingTexture()=="Interface\\Icons\\Spell_Nature_Earthquake") then CastSpellByName("Find Herbs") else CastSpellByName("Find Minerals"); end

to cast it any time

or

/script if not PlayerFrame.inCombat then if (GetTrackingTexture()=="Interface\\Icons\\Spell_Nature_Earthquake") then CastSpellByName("Find Herbs") else CastSpellByName("Find Minerals"); end end

to only cast if you're not in combat.