Page 1 of 1

Getting Monk mend to work inside Hunter.mac

Posted: Mon Sep 06, 2004 9:28 pm
by advolente
I am having a terrible time getting mend to work in macro, erroring out as follows in MQ2

========================================================================================
Code is:

/if ((${Me.PctHPs}<40)&&(${Me.AbilityReady["Mend"]}) /doability "Mend"

=======================================================================================

Ends macro saying

NatimbiHunter.mac@266 (
((${Me.PctHPs}<40)&&(${Me.AbilityReady["Mend"]}) /doability "Mend"
NatimbiHunter.mac@233 (CombatSub):/call SpecialIt
NatimbiHunter.mac@97 (Main):/if (${RV_HasTarget}) /call CombatSub

The current macro has ended

Usage: /if (<condition>) <command>

========================================================================================

That is the error code I have tried several different ways to make the mend portion of SpecialIt work but nothing seems to. Can anyone point me in the right direction here?

thanks

adv

Posted: Mon Sep 06, 2004 9:37 pm
by SlimFastForYou
Original Line you posted:
/if ((${Me.PctHPs}<40)&&(${Me.AbilityReady["Mend"]}) /doability "Mend"

I think the author meant for the line to be like this:
/if ((${Me.PctHPs}<40)&&(${Me.AbilityReady["Mend"]})) /doability "Mend"

This should work too:
/if (${Me.PctHPs}<40&&${Me.AbilityReady["Mend"]}) /doability "Mend"



Seems like whoever wrote this accidentally left off a closing parenthesis (he had two parenthesis open, but only closed one).

Posted: Tue Sep 07, 2004 12:16 am
by advolente
/bonk

Thanks, didn't see that! the original one was very wrong, probably worked at the time but hadn't been maintained...

Thx again

Adv