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