Quote:
Originally Posted by trevius
You had multiple syntax issues going on. This should work fine:
Code:
sub EVENT_SAY {
if ($text =~/hail/i && $ulevel >= 45)
{
my $Group = $client->GetGroup();
if($Group)
{
$Group->CastGroupSpell($npc, 2570);
}
else
{
my $GetPlayerID = $client->GetID();
quest::selfcast(2570);
}
quest::say("Incoming KEI for $name");
}
}
I suggest reviewing the changes I made so you can learn what you did wrong.
|
Ok, yes, several things different than what I was doing, but, as always, your
very good at what you do (smirk) THANK YOU, it works like I wanted it too now, lol