2023-08-17 04:46:35 +00:00
|
|
|
//Settings
|
2023-12-13 13:41:27 +00:00
|
|
|
#define NICK "historybotd"
|
|
|
|
#define HOST "irc.rizon.net" //localhost"
|
2023-08-01 19:42:36 +00:00
|
|
|
#define PORT 6667
|
2023-08-17 04:46:35 +00:00
|
|
|
#define DIR "./"
|
2023-08-01 19:42:36 +00:00
|
|
|
|
2023-12-13 13:41:27 +00:00
|
|
|
struct CHANNEL {
|
|
|
|
char *channel;
|
|
|
|
char *key;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct CHANNEL channels[] = {
|
|
|
|
{"#hp", NULL}
|
|
|
|
};
|
2023-10-09 14:16:02 +00:00
|
|
|
|
|
|
|
//Put \r\n after string end
|
|
|
|
//Exp: {..., "PRIVMSG NickServ IDENTIFY mypassword\r\n", ..., NULL};
|
|
|
|
char *send_after_join[] = {NULL};
|
2023-08-01 19:42:36 +00:00
|
|
|
|
|
|
|
//Output
|
2023-08-17 04:46:35 +00:00
|
|
|
#define FORMAT_TXT "<%s> %s\n"
|
2023-08-01 19:42:36 +00:00
|
|
|
#define FORMAT_HTML "[%s] %s<br>\n"
|
2023-08-17 04:46:35 +00:00
|
|
|
#define FORMAT_AWK "%s %s\n"
|
2023-10-06 13:04:45 +00:00
|
|
|
#define FORMAT FORMAT_TXT
|
2023-08-01 19:42:36 +00:00
|
|
|
|
2023-08-17 04:46:35 +00:00
|
|
|
//File ext
|
2023-10-06 13:04:45 +00:00
|
|
|
#define EXT ".txt"
|