Code:
#A conversation With Item turn-in And exp gain
sub EVENT_SAY
{
if ($text =~/Hail/i){
quest::say ("Greetings $name. I am looking for young adventurers to [help] me with a problem in the area."); }
if ($text =~/help/i){
quest::say ("Good! Good! Heres the deal there are three priests in the area who are turning people to follow
their God, [Sol]."); }
if ($text =~/sol/i){
quest::say ("Bags! Who is Sol? Sol is the reason this once beautiful Forrest is now turning into a [Desert]!"); }
if ($text =~/Desert/i){
quest::say ("Yes! Yes! There are already three lands that have turned to desert by his treacherous ways! We are trying our
best to push back his [influence] here to stop this land from also turning to desert!"); }
if ($text =~/influence/i){
quest::say ("Where you born under a rock!? Everyone knows that Sol is the God of the Sun, and he is turning our land
into his own barren wasteland!! Hes going to take over everything! Thats why we must [FIGHT]!"); }
if ($text =~/fight/i){
quest::say ("GREAT! We need all the help we can get, as I said, there are three priests in the area who are turning
townspeople to follow their god! To stop this I need you to kill the three Priests And bring me their [Amulets]!"); }
if ($text =~/amulets/i){
quest::say ("Yes as proof of their death, i will take each of their amulets and forge them together to make you
a powerful amulet to help our struggle against Sol, now Hurry up we wasted enough time jabbering!");
}
}
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"); #ruby crown
}
}
My quest items, in multiple quests, will not be handed out to the person completing the quests.
All the text ques go off like they should be handing out the item but nothing is summoned/given to the player.
Any idea whats wrong?