Quote:
Originally Posted by Kingly_Krab
Well that function does work for me, all it does is return the amount of mobs on the client's hate list.
Code:
int Client::GetAggroCount() {
return AggroCount;
}
Try something like this.
Code:
sub EVENT_SAY {
if ($text=~/Hail/i) {
plugin::Whisper("There are " . $client->GetAggroCount() . " NPCs on your hatelist.");
}
}
|
I saw that in the documentation. I wonder if the function is only available in that event though? I tried to access the function in the event EVENT_AGGRO