EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Quests (https://www.eqemulator.org/forums/forumdisplay.php?f=624)
-   -   itemcount question (https://www.eqemulator.org/forums/showthread.php?t=15607)

molimo140 08-31-2004 04:26 PM

itemcount question
 
Say you turn in a stack of fishing grubs to an npc

(say item id of fishing grubs is 0001)

if you do

itemcount{0001}

will it return the value 1 or the value 20?

ty in advance

Cisyouc 08-31-2004 04:59 PM

I'm not sure. Test it using this script.
Code:

#Itemcount Testing
#perlQuest
sub EVENT_ITEM
{
if($itemcount{1001} == 1)
  {
  quest::say("You have turned in 1 item.");
  }
if($itemcount{1001} == 20)
  {
  quest::say("You have turned in 20 items.");
  }
}



All times are GMT -4. The time now is 01:43 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.