Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 09-10-2017, 01:23 AM
phentop
Sarnak
 
Join Date: Jul 2010
Location: Army
Posts: 36
Default 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!");
}
Reply With Quote
  #2  
Old 09-10-2017, 02:09 AM
atrayas
Hill Giant
 
Join Date: Jun 2010
Posts: 105
Default

Need a } at the end of the script. Remember, if you open something it has to be closed or something will break.
Reply With Quote
  #3  
Old 09-11-2017, 04:50 AM
phentop
Sarnak
 
Join Date: Jul 2010
Location: Army
Posts: 36
Default

Quote:
Originally Posted by atrayas View Post
Need a } at the end of the script. Remember, if you open something it has to be closed or something will break.
This was just the first part of the quest the other } was further down. Even with the missing } from my post, it still will not respond to the "join" in the script.
Reply With Quote
  #4  
Old 09-11-2017, 10:22 AM
atrayas
Hill Giant
 
Join Date: Jun 2010
Posts: 105
Default

try using quest::shout , not plugin::shout
Reply With Quote
  #5  
Old 09-13-2017, 09:05 AM
phentop
Sarnak
 
Join Date: Jul 2010
Location: Army
Posts: 36
Default

Thanks atrayas! Working great now.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:05 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3