View Single Post
  #5  
Old 01-16-2010, 09:04 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

You might be looking for something like this:
Code:
 sub EVENT_SAY {
  if ($text=~/hail/i) {
    if (!defined($qglobals{MM})) {
      quest::say("You must kill lord Mith Mar to talk to me $name.");
    }
    if (defined($qglobals{MM}) && ($qglobals{MM} == 1)) {
      quest::say("AHHH, So you defeated him would you like to go to The Ascent?");
    }
  }
  if ($text=~/ascent/i && defined($qglobals{MM}) && ($qglobals{MM} == 1)) {
    quest::say("Have fun on your Journey");
    quest::movepc(319,169,1027,44);
  }
}
Typed on an iPod so don't freak if I misformatted
Reply With Quote