Jump to content

RiverStyx

Members
  • Content Count

    9
  • Joined

  • Last visited


Reputation Activity

  1. Upvote
    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.
  2. Upvote
    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" ) )
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.