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 Code:
if(($itemcount{xx} == 2)($itemcount{yy} == 1)) |
Code:
if(($itemcount{xx} == 2) && ($itemcount{yy} == 1)) |
doh...now that i see it its so obvious now lol..thanks
|
no need for so many "("
if($itemcount{xxxx} && $itemcount{xxxx} == 1) is also correct if you have to put 2 items for a turn in for example, it is : if($itemcount{xxxx} && $itemcount{xxxx} ==1 && $itemcount{yyyy} && $itemcount{yyyy} ==1) |
All times are GMT -4. The time now is 11:52 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.