21 lines
435 B
C
21 lines
435 B
C
//Settings
|
|
#define NICK "historybot"
|
|
#define HOST "localhost"
|
|
#define PORT 6667
|
|
#define DIR "./"
|
|
|
|
char *channels[] = {"#channel", NULL};
|
|
|
|
//Put \r\n after string end
|
|
//Exp: {..., "PRIVMSG NickServ IDENTIFY mypassword\r\n", ..., NULL};
|
|
char *send_after_join[] = {NULL};
|
|
|
|
//Output
|
|
#define FORMAT_TXT "<%s> %s\n"
|
|
#define FORMAT_HTML "[%s] %s<br>\n"
|
|
#define FORMAT_AWK "%s %s\n"
|
|
#define FORMAT FORMAT_TXT
|
|
|
|
//File ext
|
|
#define EXT ".txt"
|