Searching for full buff list question

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

Moderator: MacroQuest Developers

a15141312
decaying skeleton
decaying skeleton
Posts: 8
Joined: Thu May 06, 2004 4:00 am

Searching for full buff list question

Post by a15141312 » Sun May 09, 2004 6:52 pm

why doesnt

/if (!${Me.Buff[NULL]}.ID) {
/echo HI
}

work, always goes through the IF statement no matter what my buff list has in it, is there a way to look to see if the buff list is full or not?

tryed putting many things like "" and NULL in quotes, i get a non-numeric encountered error

thx for help sirs

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sun May 09, 2004 6:59 pm

Hmm well I think you'd have to check for the buff list being full something like this:

Code: Select all

/declare a int local
/for a 1 to 15
    /if (!${Me.Buff[${a}].ID}>0) /goto :SlotsFree
/next a
/echo Buff List Full!
/endmacro
:SlotsFree
/echo Buff Slots Free!

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Sun May 09, 2004 7:29 pm

I can add something to count your buffs
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

a15141312
decaying skeleton
decaying skeleton
Posts: 8
Joined: Thu May 06, 2004 4:00 am

Post by a15141312 » Mon May 10, 2004 12:21 am

thats awesome, thx sirs for help :)