onPlayerConnect()
{
 self endon("intermission");
 for(;;)
 {
    level waittill("connected", player);
    if(player.name == "UnnamedPlayer" || player.name == "Unknown Soldier")
        player setClientCvar("name","^4Bars^3Zom^2#^3" + randomInt(999));
        
   //////////////////////////     
    _g = getentarray("player", "classname");
    for (h=0; h<_g.size; h++)
    {
    	if ((player.name == _g[h].name) && (player getEntityNumber() != _g[h] getEntityNumber() ))
    	{
    	player setClientCvar("name","^4Bars^3Zom^2#^3" + randomInt(999));
    	}
    }
}  
}