Code:
sub CheatersTryingToCheat {
my @npcassistarray = [108407,108043,etc.];
my @npcstillalive = $entity_list->GetNPCList();
foreach $singleentity (@npcstillalive) {
if ($singleentity->GetNPCTypeID() ~~ @npcassistarray) {
$singleentity->AddToHateList($npc->GetHateTop());
}
}
}
I mean, this is just the sheer basics of things. Though, they're going to be just swarming through walls and such. They'll go after whomever is on top of PD's hatelist at that very moment, which -could- change. (usually the "tank")
No other checks etc.
If you need more, let us know.