RiverStyx
-
Content Count
9 -
Joined
-
Last visited
Reputation Activity
-
RiverStyx reacted to Dastgir in Little help with an if function.
for (.@i=0; .@i<getargcount(); .@i++){ if (countitem(getarg(.@i))<@input){@error = 1;} mes "You Need ["+countitem(getarg(.@i))+"/"+@input+"] "+getitemname(getarg(.@i));}if (@error==1){ mes "You do not have enough items"; close;}//Do anything here This way, it would show "You Need [x/y] ItemName" for every item required.
-
RiverStyx reacted to quesoph in Specific options within a menu!
why not use something like this
switch (select ( #AlootSet1ID1 != 0? "Item ID "+#AlootSet1ID1+" - ("+getitemname(#AlootSet1ID1)+")": "Add Item" ) )