Exemple #1
0
 private void OnChatMessageAdded(object sender, ChatMessageEventArgs e)
 {
     WriteLineToConsole($"[CHAT] {e.Sender}: {e.Message}");
 }
Exemple #2
0
 private void OnChatMessageAdded(object sender, ChatMessageEventArgs e)
 {
     Settings.conInterface.WriteModuleTextColored("CHAT", Color.DarkKhaki, $"{PlayerColorToColorOBJ(e.Color).ToTextColor()}{e.Sender}{NormalTextColor.ToTextColor()}: {e.Message}");
     //WriteLineToConsole($"[CHAT] {e.Sender}: {e.Message}");
 }
Exemple #3
0
 private void OnChatMessageAdded(object sender, ChatMessageEventArgs e)
 {
     Program.conInterface.WriteTextFormatted($"[§6CHAT§f] {PlayerColorToColorCode(e.Color)}{e.Sender}§f: §f{e.Message}§f");
     //WriteLineToConsole($"[CHAT] {e.Sender}: {e.Message}");
 }
Exemple #4
0
 private void OnChatMessageAdded(object sender, ChatMessageEventArgs e)
 {
     Settings.conInterface.WriteModuleTextColored("CHAT", Color.DarkKhaki,
                                                  $"{PlayerColorToColorOBJ(e.Color).ToTextColorPango(e.Sender)}{e.Message}");
 }