Handing items in not working
I have been creating quest pretty well so far but when i get to the part with turn ins, i dont get a response from the npc. is handing in broken or am i not doing something right.
here is my code.
sub EVENT_SAY {
if ($text =~/Hail/i){
quest::say ("Good day to you, $name. Are you ready to begin your [test]?"); }
if ($text =~/test/i){
quest::say ("Yes, the test of a warrior. To see if he is truly brave enough to recieve such [honor]" );}
if ($text =~/honor/i){
quest::say ("Honor is a big part of a warrior's life. Now go out and slaughter the goblin forces and bring me back three goblin brains.");}
}
sub EVENT_ITEM
{
if (plugin::check_handin(\%itemcount, 54505=> 3))
{
quest::say("FUCKING A. ABOUT TIME");
quest::exp(1250);
}
}
|