Quote:
Originally Posted by Noport
Code:
sub EVENT_ITEM {
if (plugin::check_handin(\%itemcount,xxxxx=>1))<-------- needs to be added
if ( !$npc || $npc->GetOwnerID() || $npc->GetSwarmOwner() ) {
plugin::GivePetItems();
return;
}
plugin::return_items(\%itemcount);
}
|
oh really?
please explain why i'd need to use plugin::check_handin() if i'd want every npc that uses default.pl to return the every item they were given, unless they were a pet. when you're done with that exercise in futility, you can try to explain what your suggestion has to do with anything in this thread.