Quest saylink issues help
In the following quest script, how do I get "join" in saylink to be recognized. The NPC will only respond to the 1st saylink "trust".
sub EVENT_SAY { if($text=~/hail/i) { plugin::Whisper("Har $name. Me " . quest::saylink("brothers", 1) . ". must have sent ye."); } elsif($text=~/brothers/i) { plugin::Whisper("Ye either earned their " . quest::saylink("trust", 1) . " or ye were sent to " . quest::saylink("join", 1) . " me, which is it?"); } elsif($text=~/trust/i) { plugin::Whisper("Ohhhh, Har! I see it now! The " . quest::saylink("glow", 1) . " from the locker draws you in, does it not?"); } elsif($text=~/join/i) { plugin::shout("join me it is then $name!"); } |
Need a } at the end of the script. Remember, if you open something it has to be closed or something will break.
|
Quote:
|
try using quest::shout , not plugin::shout
|
Thanks atrayas! Working great now.
|
All times are GMT -4. The time now is 04:26 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.