View Single Post
  #4  
Old 07-06-2009, 09:46 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

Eh, I'll save you the trouble.

For example:

If your 2 NPCs where 10063 and 10064:

10063.pl
Code:
sub EVENT_TIMER {
  if ($timer eq "underground") {
    quest::stoptimer("underground");
    quest::emote("sighs deeply, '...another shipment soon.'");
    quest::signalwith(10064,1,0);
  }
}

sub EVENT_SIGNAL {
  quest::say("Too busy, I'm not sure what these items are the [Dervishes] need but if I have to move any more of these crates my back may finally go on me!");
  quest::signalwith(10064,2,0);
}

sub EVENT_SAY {
  if($text=~/dervishes/i) {
    quest::say("Oh, yes...blah, blah, blah");
  }
}
10064.pl
Code:
sub EVENT_SIGNAL {
  if($signal==1) {
    quest::say("Another busy day Harlink?");
    quest::signal(10063,0);
  }
  if($signal==2) {
    quest::say("Business is business, but i'd never trade with those Dervishes.");
  }
}
Reply With Quote