Exemplo n.º 1
0
 private void Chat_Load(object sender, EventArgs e)
 {
     this.Text = "Chat/Commands Only - " + Server.name + " (MCDawn " + Server.Version + ")";
     txtLog.AppendText("MCDawn Mini-Console Initiated - Chat/Commands only. You may minimize the Main Console." + Environment.NewLine);
     txtLog.AppendText("Use / for commands, # for opchat, ; for adminchat, and @ for whisper." + Environment.NewLine);
     Server.s.OnLog += Log;
     Server.s.OnCommand += WriteCommand;
     Server.s.OnSystem += Log;
     thisChat = this;
 }
Exemplo n.º 2
0
 private void btnOpenChat_Click(object sender, EventArgs e)
 {
     try
     {
         Chat chat = new Chat();
         chat.Show();
         miniConsole = true;
     }
     catch { }
 }