BasicIO Alerts compatibility

This commit is contained in:
ORelio 2013-08-17 12:53:38 +02:00
parent 700d345cef
commit 29ea512dbb

View file

@ -599,6 +599,9 @@ namespace MinecraftClient
if (ok) if (ok)
{ {
Console.Beep(); //Text found ! Console.Beep(); //Text found !
if (ConsoleIO.basicIO) { ConsoleIO.WriteLine(comp.Replace(alert, "§c" + alert + "§r")); } else {
#region Displaying the text with the interesting part highlighted #region Displaying the text with the interesting part highlighted
Console.BackgroundColor = ConsoleColor.DarkGray; Console.BackgroundColor = ConsoleColor.DarkGray;
@ -658,6 +661,7 @@ namespace MinecraftClient
} }
} }
} }
}
/// <summary> /// <summary>
/// This bot saves the received messages in a text file. /// This bot saves the received messages in a text file.