void OnUserModeChangeHandler(object sender, Irc.IrcEventArgs e) { if (OnUserModeChange != null) { OnUserModeChange((Network)sender, e); } }
void OnQueryNoticeHandler(object sender, Irc.IrcEventArgs e) { if (OnQueryNotice != null) { OnQueryNotice((Network)sender, e); } }
void OnRawMessageHandler(object sender, Irc.IrcEventArgs e) { if (OnRawMessage != null) { OnRawMessage((Network)sender, e); } }
void OnCtcpReplyHandler(object sender, Irc.IrcEventArgs e) { if (OnCtcpReply != null) { OnCtcpReply((Network)sender, e); } }
void OnCtcpRequestHandler(object sender, Irc.IrcEventArgs e) { if (OnCtcpRequest != null) { OnCtcpRequest((Network)sender, e); } }
void OnChannelPassiveSyncedHandler(object sender, Irc.IrcEventArgs e) { if (OnChannelPassiveSynced != null) { OnChannelPassiveSynced((Network)sender, e); } }
protected internal static void Answer(Network n, Irc.IrcEventArgs e, string s) { if (e.Data.Type == Irc.ReceiveType.QueryMessage) { n.SendMessage(Abbot.Irc.SendType.Message, e.Data.Nick, s); } else { n.SendMessage(Abbot.Irc.SendType.Message, e.Data.Channel, s); } }
protected internal static void AnswerWithNotice(Network n, Irc.IrcEventArgs e, string s) { n.SendMessage(Abbot.Irc.SendType.Notice, e.Data.Nick, s); }
void Bot_OnRawMessage(Network network, Irc.IrcEventArgs e) { Console.WriteLine(e.Data.RawMessage); }
static void bot_OnRawMessage(Network sender, IrcEventArgs e) { Console.WriteLine(e.Data.Nick + ": " + e.Data.Message); }