예제 #1
0
        public static void ChannelMessage(ChatUser from, Channel channel, string param)
        {
            if (from.NextMessage < Core.TickCount)
            {
                channel.SendMessage(57, from, from.GetColorCharacter() + from.Username, string.Format("{{{0}}} {1}", channel.Name, param)); // %1: %2
                ChatLogging.LogMessage(channel.Name, from.Username, param);

                from.NextMessage = Core.TickCount + ChatSystem.ChatDelay;
            }
        }
예제 #2
0
 public static void ChannelMessage(ChatUser from, Channel channel, string param)
 {
     channel.SendMessage(57, from, from.GetColorCharacter() + from.Username, string.Format("{{{0}}} {1}", channel.Name, param)); // %1: %2
     ChatLogging.LogMessage(channel.Name, from.Username, param);
 }