i have tried every combination of the quest return items plugin and none of them will actually return any items, the npc just eats it every time.. what am i doing wrong?
samples ive tried:
sub EVENT_ITEM {
plugin::return_items(\%itemcount);
}
sub EVENT_ITEM {
plugin::return_items(\%itemcount);
return;
}
else
{
plugin::return_items(\%itemcount);
return;
}
else
{
plugin::return_items(\%itemcount);
}
and the full quest:
sub EVENT_ITEM
{
if (plugin::check_handin(\%itemcount, 16905 => 1, 16857 => 1, 10035 => 1))
{
quest::emote("removes a item from his pocket.");
quest::say("This is yours. Care for it well!");
quest::summonitem(10051); #gemmed crown
}
else
{
plugin::return_items(\%itemcount);
}
}
|