View Single Post
  #2  
Old 11-17-2012, 04:11 PM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

Quote:
Originally Posted by Noport View Post
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.
Reply With Quote