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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 05-20-2005, 12:58 PM
_Kerosh_
Sarnak
 
Join Date: Nov 2004
Posts: 59
Default

woah, first
if($text=~/truth is good/i && $class == 'Paladin')
that should be an elsif
Also, you might want to re-format
elsif(($text=~/truth is good/i) && ($class eq "Paladin"))

Ya, you want to use eq when it is letters. " " works around Paladin, and ' ' works too. I always use " "

after all functions, always use a ; to end it, such as:
quest::say("Pleased to meet you.");
Notice the ; at the end. Without that you will get a crap load of syntax errors. Do not use it after if statements, elsif statements, or else statements.
This what you had:
quest::say("Pleased to meet you $name, if you are a newcomer to Freeport then you can clearly see we are having quite the rat problem. If you are interested the militia has granted me some coin to reward those that bring me four rat whiskers.")

Ok, next
A possible problem could be
else
{
}
not sure as use that, I always use elsif, it much easier .

Another problem, did you want the guy to spawn? I suggest making an origin spawn in some random GM Box (Origin Spawn is using the #spawn command), then spawning that origin spawn's NPC ID. That should be about it ^^
__________________
Fate Industries Admin
Reply With Quote
 


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 09:17 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3