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
  #6  
Old 06-06-2006, 12:24 PM
Adrianne
Fire Beetle
 
Join Date: Oct 2004
Posts: 20
Default

ok went through and havin some problems with this. it works for the most part, however when I hail, the both the "Ahh, hello young $race, what brings you to the Orders Library? You wouldnt happen to be responding to one of the [flyers] I sent out now would you?" and "May you travel with the Fives blessing $name." show up when there is no quest global entry for it in the database, and when it sets the global to 1, the "May you travel with the Fives blessing $name." doesnt show up at all. What am I doin wrong here?
Ive tried every combination I could think of, searched this forum and peq forum, and have come up with no solution. Without the

Code:
else
  {
    quest::say("May you travel with the Fives blessing $name.");
  }
Here is what I have so far:

Code:
sub EVENT_SAY
  {
  if ($flyer == 0)
  {
  if ($text=~/Hail/i)
  {
    quest::say("Ahh, hello young $race, what brings you to the Orders Library?
    You wouldnt happen to be responding to one of the [flyers] I sent out
    now would you?");
  }
  if ($text=~/flyer/i)
  {
    quest::say("Ah good, good. Just give the flyer back to me and we shall
    begin.");
  }
  if ($text=~/ready/i)
  {
    quest::say("Here. This item will return you to our fair city. It holds
    enchantments that will make you more powerful as well. Ill start you off on
    something simple. The councils scouts have recently discovered a strange new
    race of humanoids dwelling in a place they call Crushbone. The council
    wishes to gain further information on the humanoids in Crushbone. An
    Ambassador was sent a few days ago. He returned with a few missing body
    parts. The scouts report seeing small books on a few of the more intelligent
    looking humanoids there. Bring back at least four of these books for the
    council to study. The council does not care how you obtain them. Feel free
    to get them by any means necessary. Upon your return, find my apprentice.
    He will handle the books accordingly.");
    quest::summonitem(1002);
    quest::setglobal("flyer",1,0,"M2");
  }
  else
  {
    quest::say("May you travel with the Fives blessing $name.");
  }
  }
}
I have sub EVENT_ITEM stuff too, but it doesnt relate to this, Im just wanting him to not allow people to repeat the quest. When they have said ready, I want it to consider the quest done, and instead of Hail saying:

"Ahh, hello young $race, what brings you to the Orders Library?
You wouldnt happen to be responding to one of the [flyers] I sent out
now would you?"

Id like it to say:

"May you travel with the Fives blessing $name."

Any help would be appreciated here.
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 05:36 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