PDA

View Full Version : Item quest questions


Innerfire963
05-20-2005, 11:30 AM
Lol ok my mind went blank while making a quest...

I know that


if($itemcount{1001} == 1)


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


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.