public static void ChannelAdvertise(object sender, IrcEventArgs e) { string advertiseStream = "Live right now: "; foreach (Monitor stream in streams) { if (stream.streamOnline) { advertiseStream += (char)3 + "03" + stream.nick + (char)15 + " - " + stream.weblink() + " "; } } irc.SendMessage(SendType.Message, e.Data.Channel, advertiseString); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)