Page 1 of 2

problem with a hutner macro

Posted: Tue Mar 08, 2005 4:45 pm
by trevc63
I just tried to run a preivously working macro, after i added a few class spesific things:

/if ((${Int[${Me.PctHPs}]}<40) && ${Me.AbilityReady["Mend"]}) {
/echo Mending at ${Me.PctHPs} health...
/doability "Mend"

/if (${Int[${Me.PctHPs}]}<20) {
/echo Getting my ass kicked, feigning death...
/cleanup
/keypress esc
/attack off
/keypress forward
/keypress back
/delay 1
/doability "Feign Death"
/beep
/beep
/endmacro


and macroquest window gave me this:

Unparsable in calculation "l"

Hunter.mac@261 /if ((${Int[${Me.PctHPs}]}<40) && ${Me.AbilityReady["Mend"]}) {

Hunter.mac@228 (CombatSub) : /call SpeciallT

Hunter.mac@93 (Main) /if (${RV_HasTarget}) /call CombatSub

The current macro has ended.

Failed to parse /if condition '((100<40) && FALSE)' , non-numeric encoutered

Posted: Tue Mar 08, 2005 5:38 pm
by dont_know_at_all

Re: problem with a hutner macro

Posted: Tue Mar 08, 2005 5:51 pm
by fearless
trevc63 wrote:(${Int[${Me.PctHPs}]}<40)
Don't use Int like that, just use

Code: Select all

${Me.PctHPs}<=40
Also, you don't have the closing bracket in your code. It should look something like

Code: Select all

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

ack

Posted: Wed Mar 09, 2005 5:07 pm
by trevc63
nother error... think im gonna get rid of this part, only using mq to farm anyways... thanks for help though, fear

Posted: Wed Mar 09, 2005 6:02 pm
by trevc63
i quit eq for a while.... my 14th b-day coming up and i wanna get a job

Id like to thank everybody who has helped me with macros and such


Adios

Re: problem with a hutner macro

Posted: Tue Apr 29, 2025 2:20 pm
by xyilla

Re: problem with a hutner macro

Posted: Tue Apr 29, 2025 2:21 pm
by xyilla

Re: problem with a hutner macro

Posted: Tue Apr 29, 2025 2:22 pm
by xyilla

Re: problem with a hutner macro

Posted: Tue Apr 29, 2025 2:24 pm
by xyilla

Re: problem with a hutner macro

Posted: Tue Apr 29, 2025 2:25 pm
by xyilla

Re: problem with a hutner macro

Posted: Tue Apr 29, 2025 2:26 pm
by xyilla

Re: problem with a hutner macro

Posted: Tue Apr 29, 2025 2:27 pm
by xyilla

Re: problem with a hutner macro

Posted: Tue Apr 29, 2025 2:28 pm
by xyilla

Re: problem with a hutner macro

Posted: Tue Apr 29, 2025 2:29 pm
by xyilla

Re: problem with a hutner macro

Posted: Tue Apr 29, 2025 2:31 pm
by xyilla