new AudioPlayed; AudioPlayed++; if(AudioPlayed == 8) { KillTimer or whatever you are using to repeat audio. } else { AudioPlayed++; //play audio }