View Single Post
  #1  
Old 10-05-2004, 01:33 PM
mrea
Discordant
 
Join Date: Sep 2004
Location: Camp Hill,PA
Posts: 370
Default Anyone know whats wrong with this?

Here is the code I'm trying to use:
Code:
sub EVENT_SAY 
{
 {
  if ($text=~ /Hail/i) { quest::say("You look like a strong adventurer. Possibly you could take on this [problem] that ails our citizens of late.");} 
  if ($text=~ /Problem/i) { quest::say("You see, a brooding Dragon is in the sewers of Freeport.  I need you to find him and slay him. If you bring me one of his teeth I will reward you greatly.");} 
 }
  if ($item1 == 00001){ quest::say("Ah yes, I heard the screeches. Congratulations $name!");
  quest::summonitem("21820");
  quest::shout("All praise $name!");}
}
I can get the mob to do the summon item and shout, but only after I hail them after i do the turn in. Obviously thats not what I wanted.
Reply With Quote