View Single Post
  #19  
Old 12-04-2010, 06:57 AM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,332
Default

[QUOTE=trevius;194793]I am not having any issues casting group spells from an NPC using this:

Code:
sub EVENT_SAY {

	if ($text =~/hail/i) {
		my $Group = $client->GetGroup();
		if($Group) {
			$Group->CastGroupSpell($npc, 1693)
		}
		else {
			my $GetPlayerID = $client->GetID();
			$npc->CastSpell(1693, $GetPlayerID );
		}
		quest::say("Incoming Clarity for $name");
	}

}
THANK YOU VERY MUCH, That works perfect
Reply With Quote