View Single Post
  #1  
Old 01-31-2009, 08:43 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default Very simple quest

Ok I am doing a very basic quest, and the quest guy isn't responding to hails or giving the item for the turn in. Any suggestions?


Code:
#Gives a belt
sub EVENT_SAY
{

if ($text =~/hail/i) {
  quest::say ("Shhhh, $name. They can't know I'm not an orc. I am a [spy] sent here by the Soldiers of Tunare.");  }
if ($text =~/spy/i {  
  quest::say ("Aye, I was sent to learn who was leading these orcs. From my studies I have concluded it is a powerful orc named Emperor [Crush].");  }
if ($text =~/Crush/i {  
  quest::say ("If you kill him, I can go home. I'll let you have my belt that makes me appear to be an orc since I won't need it anymore. Bring me his Dwarven Ringmail Tunic to prove he is dead");  }
}




sub EVENT_ITEM
{

if($itemcount{3301} >= 1)
   {
quest::say("Finally! Kelethin will be a lot safer without Crush around.");
quest::summonitem(1449);
quest::exp(30000); 
   }
}
Reply With Quote