Quote:
Originally Posted by lerxst2112
This line looks wrong to me:
if ($Group->GetMember($count)-GetLevel() < 61) {
Should be:
if ($Group->GetMember($count)->GetLevel() < 61) {
I think.
|
Yes lerxst2112 , you were right. I changed it to -> and the whole script
works absolutely perfect

Thanx again you guys, this one is awesome.
**EDIT**
Just thought I would add something I noticed, which is not a concern of mine.
But just in case others want to know, I tested this out with a low toon and
a 61+ toon grouped together, but left the low toon in a different zone, just
to see what the buff npc would do when hailed by the 61+ toon.
The npc would not respond to hail or do any casting. But as soon as I disbanded
the npc casted when hailed. I guess this wouldn't be a problem for anyone,
unless someone was innocently grouped with a low toon in another zone ( maybe
a druid that ported someone and forgot to disband)
and did not know why the npc is not casting or responding. (chuckle)
