Mr BrycE Posted October 4, 2013 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 595 Reputation: 24 Joined: 02/23/12 Last Seen: April 1, 2018 Share Posted October 4, 2013 i want to ask help about this, im doing it wrong >.< setarray .Runes[0],20369,20368,20367,20366,20376,20377; for( set .@r,0; .@r < getarraysize( .Runes ); set .@r,.@r + 1 ){ set .@RunesMenu$,.@RunesMenu$ + getitemname( .Runes[.@r] )+":"; } set .@Runes,select( .@RunesMenu$ ) - 1; >>>>>>> if(countitem( .@Runes) >= 10) { <<<<<<<<<< mes "^0000FF[ Zane ]^000000"; mes "Not Enough Requirements my Lord"; close; } what i want to do is, to check if the chosen id is = to 10pcs Quote Link to comment Share on other sites More sharing options...
Emistry Posted October 4, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted October 4, 2013 if( countitem( .Runes[ .@Runes ] ) < 10 ){ you have to add in the array variable ... otherwise you are just checking "index" number.. Quote Link to comment Share on other sites More sharing options...
Mr BrycE Posted October 4, 2013 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 595 Reputation: 24 Joined: 02/23/12 Last Seen: April 1, 2018 Author Share Posted October 4, 2013 thanks for helping me out Quote Link to comment Share on other sites More sharing options...
Question
Mr BrycE
i want to ask help about this, im doing it wrong >.<
what i want to do is, to check if the chosen id is = to 10pcs
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.