found the problem i just don't know y it was a problem but it was my default.pl
Code:
sub EVENT_ITEM {
my $owner = $npc->GetOwnerID();
if ($owner > 0) {
quest::say ("Thanks $name, ill put this to good use");
}
else {
plugin::return_items(\%itemcount);
}
}