An example may be to do something like this:
player.pl
Code:
sub EVENT_ENTERZONE {
quest::signalwith(1001,$client->GetBaseRace(),0);
quest::signalwith(1002,$client->GetBaseRace(),0);
}
1001.pl and 1002.pl
Code:
sub EVENT_SIGNAL {
quest::npcrace($signal);
}
EDIT: Yes, a proximity would work just fine. BTW, questions like this should go under a quests forum rather than windows server forum.