problem with a hutner macro

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

trevc63
decaying skeleton
decaying skeleton
Posts: 9
Joined: Wed Jul 07, 2004 1:52 am

problem with a hutner macro

Post by trevc63 » Tue Mar 08, 2005 4:45 pm

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

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Tue Mar 08, 2005 5:38 pm


User avatar
fearless
Not a Psychic
Posts: 2684
Joined: Wed Mar 10, 2004 3:52 pm

Re: problem with a hutner macro

Post by fearless » Tue Mar 08, 2005 5:51 pm

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" 
}
Reading . . . it's not just for me.

[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]

trevc63
decaying skeleton
decaying skeleton
Posts: 9
Joined: Wed Jul 07, 2004 1:52 am

ack

Post by trevc63 » Wed Mar 09, 2005 5:07 pm

nother error... think im gonna get rid of this part, only using mq to farm anyways... thanks for help though, fear
yes... im a noob.... but im workin on changing that

trevc63
decaying skeleton
decaying skeleton
Posts: 9
Joined: Wed Jul 07, 2004 1:52 am

Post by trevc63 » Wed Mar 09, 2005 6:02 pm

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
yes... im a noob.... but im workin on changing that

xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: problem with a hutner macro

Post by xyilla » Tue Apr 29, 2025 2:20 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: problem with a hutner macro

Post by xyilla » Tue Apr 29, 2025 2:21 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: problem with a hutner macro

Post by xyilla » Tue Apr 29, 2025 2:22 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: problem with a hutner macro

Post by xyilla » Tue Apr 29, 2025 2:24 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: problem with a hutner macro

Post by xyilla » Tue Apr 29, 2025 2:25 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: problem with a hutner macro

Post by xyilla » Tue Apr 29, 2025 2:26 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: problem with a hutner macro

Post by xyilla » Tue Apr 29, 2025 2:27 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: problem with a hutner macro

Post by xyilla » Tue Apr 29, 2025 2:28 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: problem with a hutner macro

Post by xyilla » Tue Apr 29, 2025 2:29 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: problem with a hutner macro

Post by xyilla » Tue Apr 29, 2025 2:31 pm