Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-10-2004, 02:13 PM
zarcath
Fire Beetle
 
Join Date: May 2004
Posts: 9
Default Summon item upon key word?

Is this right? I want them to get the item when they say the key phrase deliver.

Quote:
EVENT_ITEM {
if ($1- =~ "deliver")
say(Well this must be my lucky day, you are turning out to be very helpful. Here's the supplies. You should be able to find Anval fishing near the old pier. Now, if you'll excuse me, I need to check with my runners. The nobleman's daughter is days overdue now. I hope nothing serious has happened.');
summonitem(20014,0);
or should I have it in Event_Say? can I have summonitem in event_say?

-Z
Reply With Quote
  #2  
Old 05-10-2004, 02:39 PM
sandy
Hill Giant
 
Join Date: Oct 2002
Posts: 212
Default

think at what is the event that occurs

in what you want to do the event is this :
"when they say 'deliver'"
so the event is not an event item but an event say

code would be this then :
Code:
sub EVENT_SAY
{
    if ( $text =~ /deliver/i)
    {
        quest::say("Well this must be my lucky day, you are turning out to be very helpful. Here's the supplies. You should be able to find Anval fishing near the old pier. Now, if you'll excuse me, I need to check with my runners. The nobleman's daughter is days overdue now. I hope nothing serious has happened.");
        summonitem(20014,0);
    }

}
__________________
Sandy
Reply With Quote
  #3  
Old 05-10-2004, 02:51 PM
animepimp
Dragon
 
Join Date: Jan 2004
Posts: 860
Default

The different types of events define when the event happens. All events can use all the methods. You can even summon items on people on an event attack, then next time they try to target the mob they trade instead
Reply With Quote
  #4  
Old 05-10-2004, 03:18 PM
zarcath
Fire Beetle
 
Join Date: May 2004
Posts: 9
Default

Okay, thanks

-Z
Reply With Quote
Reply

Thread Tools
Display Modes

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 12:44 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