Beispiel #1
0
        public void Append(PrivateMessage msg, Channel channel)
        {
            string row  = KCode2HTML.ToHTML(msg.Message, channel, false, false);
            string nick = KCode2HTML.ToHTML("_RR°>_h" + msg.Sender + "|/m \"|/w \"<°:_ ", channel, false, false);

            if (msg.Sender == ">" || msg.Sender == ">>" || msg.Sender == ":")
            {
                nick = string.Empty;
            }
            row = nick + row;
            AppendHTML(row);
        }
Beispiel #2
0
        public void Append(PublicMessage msg, Channel channel, bool function)
        {
            bool   ub   = msg.Sender == ">" || msg.Sender == ">>" || msg.Sender == ":";
            string row  = KCode2HTML.ToHTML(msg.Message, channel, function, ub);
            string nick = KCode2HTML.ToHTML("_°>_h" + msg.Sender + "|/m \"|/w \"<°:_ ", channel, false, false);

            if (ub)
            {
                nick = string.Empty;
            }
            row = nick + row;
            AppendHTML(row);
        }