new playerCount
public function( id ){new players[32] , num , i , id
get_players( players , num , "ch")for( i =0; i < num; i++){
playerCount++}if( playerCount >=1){// stuff ...}}
In that code, playerCount will equal num. Pointless loop, just use num to compare.