Weapon Switch--/if $equip(Primary)

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

Kraid
decaying skeleton
decaying skeleton
Posts: 8
Joined: Sat Dec 13, 2003 4:00 am

Weapon Switch--/if $equip(Primary)

Post by Kraid » Sat Dec 13, 2003 4:18 am

I'm modding the Mana Robe macro to fully switch from regular gear to equip wiz epic in primary and Mana Robe in chest. And then switch back to regular gear when mana is 100% (most wiz don't equip these full time)

I know that /if $equip(Primary) checks to see if you have a weapon equipped in mainhand.

So /if $equip(Primary, "Staff of the Four")!=TRUE /call EquipEpic
should check to see if Staff of the Four is equipped in mainhand and if not it will call my EquipEpic function correct?

The problem i'm getting is MQ can't parse the IF command on that line. I think this is because $equip(Primary) is not set up to check a filter but i'm not sure.

Any help is appreciated thanks

Kraid
decaying skeleton
decaying skeleton
Posts: 8
Joined: Sat Dec 13, 2003 4:00 am

Post by Kraid » Sat Dec 13, 2003 7:17 am

Eh never mind i figured it out a way around it.