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
  #2  
Old 07-08-2005, 02:39 AM
mystic414's Avatar
mystic414
Hill Giant
 
Join Date: Sep 2004
Posts: 100
Default

First, you have sub EVENT ITEM placed within the sub EVENT SAY routine. They need to be kept seperate. Also, I don't know why you're using quest::text. quest::say is better. And I'm pretty sure it requires a double-quote " rather than a single-quote ' to work.
Code:
sub EVENT_SAY {
  if($text=~/Hail/i) {
    quest::say ("Greetings $name, I bet you are here to collect your armor??");
  }
  if($text=~/yes/i) {
    quest::say ("Well you must head to greater faydark and bring me back four spiderling silk");
  }
}

sub EVENT_ITEM {
  if ($itemcount{13099}==4) {
    if ($ulevel>3) {
      quest::emote('starts to wave quickly.');
      quest::say('congradulation!');
      quest::summonitem(25);
      quest::summonitem(26);
      quest::summonitem(27);
      quest::summonitem(28);
      quest::summonitem(29);
      quest::summonitem(30);
      quest::summonitem(100);
      quest::summonitem(1000);
    }
  }
  else {
    quest::say("You will have to be more skilled to complete that quest.");
    quest::summonitem(13099);
    quest::summonitem(13099);
    quest::summonitem(13099);
    quest::summonitem(13099);
  }
}
__________________
The PEQ Database Editor is available!
Edit Loot, NPCs, Spawns, Merchants, Factions, NPC Spell Lists, and Tradeskills with ease!
Check it out!
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 03:46 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3