All pastes #244402 Raw Edit

Someone

public c v1 · immutable
#244402 ·published 2006-11-09 19:10 UTC
rendered paste body
/* Function: bot_join_chan * Description: Joins a Channel to serve the Users * Author: Fallen Angel*/int bot_join_chan(socket_t *sock,                   char *ircchan,                  char *wlcmsg);/* Function: bot_log * Description: Bot logs the Conversation (Channel sorted) * Author: Fallen Angel*/int bot_log(socket_t *sock,            char *logfile);/* Function: bot_set_mode * Description: Bot sets (if Channel Operator status granted)                 channel modes * Author: Fallen Angel*/int bot_set_mode(socket_t *sock,                 char *channel);/* Function: bot_serve_users * Description: If a User sends messages like: /msg <botname> help   				it prints the help/ or serve him * Author: Fallen Angel*/int bot_serve_users(socket_t *sock);/* Function: bot_send_msg * Description: Sends a Message to a User/Channel * Author: Fallen Angel*/int bot_send_msg(socket_t *sock, 				 char *msg,                  struct userdata *ptr);