Hi.

Off course, that code is a little bugged.
For example:.
You have 10 nicks. names Nick1, Nick2, Nick3, ..., Nick9, Nick10
Using you while code it will be something like this:.

var %i 1 --> set the var %i to 1
while ( $cnick(1) ) { --> while true it will return Nick1
cnick -r Nick1 --> It will delete the Nick1 from color list
inc %i --> increase the var %i to 2
------Now it will return to check the while again ----
while ( $cnick(3) ) { --> while true it will return Nick3
cnick -r Nick3 --> It will delete the Nick3 from color list
inc %i --> increase the var %i to 3
-----Has you can see at this time he have return the Nick3 instead the Nick2, because you are trying to return the 2º nick from the actual list. ( don´t forget that at this time you have only 9 nicks not 10 like in the beginning ), he have jumped the Nick2...

Has you can see the next nick that will be remove it will be the 3º nick of list, in this case it will be the Nick5 ( if i am not mistake ).

I think with this little explanation you can figured out what you can do...

If you need any more help jut ask.

Good luck

Last edited by Miguel_A; 07/07/08 12:24 PM.