
06-07-2016, 05:12 PM
|
 |
Dragon
|
|
Join Date: Dec 2009
Posts: 719
|
|
Quote:
Originally Posted by NatedogEZ
This should work for you...
Code:
sub EVENT_HATE_LIST {
if ($hate_state == 1 && $client && $client->GetLevel() > ($mlevel + 15) && $npc->GetEntityVariable("removed") != 1) {
$npc->RemoveItem(132522);
$npc->SetEntityVariable("removed", 1); #so it stops trying to remove the item when more people aggro it
}
}
|
simple and elegant
__________________
I muck about @ The Forge.
say(rand 99>49?'try '.('0x'.join '',map{unpack 'H*',chr rand 256}1..2):'incoherent nonsense')while our $Noport=1;
|