public client_infochanged(id){ new new_team[16],team get_user_info(id,"team",new_team,15) team = get_user_team(id) if (equal(new_team,"allies")) teamx = 2 else if (equal(new_team,"axis")) teamx =1 if ( !(team == teamx)){ //here is the code..... } }