From the Lief Faladim NPC in Kithicor. THere are three hand ins and two work. The one that requires money doesn't and I don't see anything wrong (comparing to other quests).
Perhaps the $gold doesn't work properly? I summoned the exact items specified and handed in 2000 gold pieces at the same time. I get back the items but not the gold.
Code:
sub EVENT_ITEM {
if(plugin::check_handin(\%itemcount, 12321 => 1, 12320 => 1)) {
quest::summonitem(3190);
}
if (plugin::check_handin(\%itemcount, 12305 => 1, 12306 => 1, $gold >= 2000)) {
quest::say("Here are your boots.");
quest::summonitem(3192);
}
if (plugin::check_handin(\%itemcount, 10059 => 1, 12328 => 1)) {
quest::say("Here are your leggings.");
quest::summonitem(3191);
}
else {
plugin::return_items(\%itemcount);
return 1;
}