history/cfg.h

28 lines
507 B
C
Raw Normal View History

2023-08-17 04:46:35 +00:00
//Settings
2024-01-23 17:00:22 +00:00
#define NICK "histbot"
#define HOST "192.168.0.184" //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"