IRCBot Plugin API
v5
|
#include <plugins.h>
Public Attributes | |
bool(* | is_nick_in_chan )(int netno, const char *chan, const char *nick) |
bool(* | is_bot_in_chan )(int netno, const char *chan) |
int(* | num_nicks_in_chan )(int netno, const char *chan) |
bool(* | get_nick_in_chan )(int netno, const char *chan, int num, char *nick, int nickSize) |
These provide an interface to the bot's internal address list (IAL). It maintains the list of users in each channel and their modes (op, hop, etc.)
Pretty basic so far, let me know if you want anything added because I just add APIs as I need them.
bool(* API_ial::is_nick_in_chan)(int netno, const char *chan, const char *nick) |
bool(* API_ial::is_bot_in_chan)(int netno, const char *chan) |
int(* API_ial::num_nicks_in_chan)(int netno, const char *chan) |
bool(* API_ial::get_nick_in_chan)(int netno, const char *chan, int num, char *nick, int nickSize) |