dvall { var %x 1, %i, %s while (%x <= $nick(#,0,v)) { %s = $+(v,%s) %i = %i $nick(#,%x,v) .inc %x if ($len(%s) == $modespl) { echo -a mode # $+(-,%s) %i } } echo -a mode # $+(-,%s) %i } Ok what im trying is this. The command must check how many voiced users are in the channel, then set the names to a var accordingly. Now i need to add protection against the $modespl that the network can handle. Any ideas would be appreciated.