public void Add_Error(string text, bool audio) { if (audio) { //lets play a random sad clip :'( int snd = Globals.Rando.Next(0, 4); switch (snd) { case 0: VoicePlayer.PlaySound(3); break; case 1: VoicePlayer.PlaySound(4); break; case 2: VoicePlayer.PlaySound(5); break; case 3: VoicePlayer.PlaySound(6); break; case 4: VoicePlayer.PlaySound(9); break; } } //now the error text //Add_Text("#############################", Globals.Pink); Add_Text("ERROR: " + text, Globals.White, TextType.ALL); //Add_Text("#############################", Globals.Pink); //flush so we make sure we can view it again Util.Flush_TextFile(); }