Beispiel #1
0
        void MQOEvents_onChatReady(object obj)
        {
            if (Chat != (string)obj.ToString())
            {
                string Uncleaned = (string)obj.ToString();
                string Cleaned   = Regex.Replace(Uncleaned, @"<[^>]*>", String.Empty);
                Cleaned = Regex.Replace(Cleaned, @"[[^>[]", "\r\n[");

                Chat = Cleaned;
                MQOEvents.ChatUpdate(Chat);
            }
        }