EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Item quest questions (https://www.eqemulator.org/forums/showthread.php?t=18598)

Innerfire963 05-20-2005 11:30 AM

Item quest questions
 
Lol ok my mind went blank while making a quest...

I know that

Code:


  if($itemcount{1001} == 1)

Is for 1 item but how would you do it for 2 diffrent items?

Code:

  if($itemcount{1001} == 1 && $itemcount{1002} == 1)
Something like that...

Ha im probally really off but its been a long day today...

_Kerosh_ 05-20-2005 12:48 PM

$item1, $item2, $item3, $item4

killspree 05-20-2005 09:23 PM

Both ways work. However, last I checked the $item1, $item2, $item3, $item4 way requires the items to be turned in with that specific order. So let's say something like:

if($item1 == 14985 && $item2 == 14986 && $item3 == 14566)

The first item in the trade window would have to be 14985, followed by 14986, and then finally 14566. This was a good while ago, and one of the reasons I started using $itemcount instead...so it may have been fixed.


All times are GMT -4. The time now is 10:03 AM.

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