public team_score() { static old_score = 0; new score = read_data(2) - old_score; if(score > 0) { if(team[0] == 'T') terrorist_score += score; else ct_score += score; } }