Page 1 of 1

Searching for full buff list question

Posted: Sun May 09, 2004 6:52 pm
by a15141312
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

Posted: Sun May 09, 2004 6:59 pm
by ml2517
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!

Posted: Sun May 09, 2004 7:29 pm
by Lax
I can add something to count your buffs

Posted: Mon May 10, 2004 12:21 am
by a15141312
thats awesome, thx sirs for help :)