View Single Post
  #5  
Old 05-04-2019, 05:22 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,332
Default

I put this together, which works pretty good. I just have to add in a group member count, since a player with a merc is still a "group". Maybe a little message for the single clients to go away, as well, lol (npc won't talk to you, if not in a group)

Code:
sub EVENT_SAY {

	my $group = $client->GetGroup();
	
	if($group){
		if (($text =~/hail/i) && ($ulevel > 35)) {
			quest::say("Greetings $name, Are you interested in exploring [dulak] ?");
		}
		elsif ($text =~/dulak/i && ($ulevel > 35)) {
			plugin::SendToInstance("group", "dulak", 1, 438, 548, 4, "GRP", 400);
		}
	}
}
Reply With Quote