Quote:
Originally Posted by Huppy
Ok, I will give that a shot. I did try using GetClientByName($name) as well as a few other variables, but I will see what happens with your suggestion. Thank You
|
In your quest::follow is where you try $name he means
You shouldn't have to get the client object, as it is the initiator of EVENT_SAY, so just $client would suffice
Ive always used an ID of a pc/npc, give it a try:
Code:
sub EVENT_SAY {
if($text=~/hail/i)
{
quest::say("I'm with you $name and following.");
quest::follow($userid);
}
}