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.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-14-2004, 04:36 AM
x-scythe
Discordant
 
Join Date: Jun 2003
Posts: 449
Default question about $itemcount

if i wanted to have it so like 2 of one item and 1 of another were turned in would it be like this?

example quest:

Code:
sub EVENT_SAY
{
 if($text=~/Hail, $mname/i)
  {
   quest::say("Ello there $name! If you bring me two firebeetle eyes and one bone chip, I will craft you an item.");
 }
}

#the xx is the firebeetle eyes and the yy is the bone chip
sub EVENT_ITEM
{
 if(($itemcount{xx} == 2)($itemcount{yy} == 1))
  {
   quest::say("Well done. Here is your crafted item!");
   quest::summonitem(blah);
 }
}
this is what i need to know is correct
Code:
if(($itemcount{xx} == 2)($itemcount{yy} == 1))
thanks in advance
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 02:28 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