unsigned long cookie;
unsigned long uptime;
unsigned long ontime;
unsigned long now;
unsigned long sysup;
Unused in the current implementation, should be set to zero (0).
The process ID of the bot. On a POSIX system it would be set to the value of getpid();
The type number of your bot, this would be the number assigned and recognized by the server to be your kind of bot, not something you can set at will.
To get your own type number for your bot, contact proton or guppy.
At startup the cookie is set to a random number, for each each packet sent, the cookie is modified; cookie = ((cookie + 1) * 18457).
At start set to number of seconds since epoch time. On POSIX, uptime = time(), set once and then staying the same.
Whenever your bot is connected to a new server, reset the ontime to number of seconds since epoch time; on POSIX: ontime = time().
The current time, set on each packet sent; on POSIX: now = time().
On UNIX systems it is possible and easy to get the system uptime by getting the time from the /proc directory.
Set the string to the format "nick server version". Since the type number specifies your bot,
there is no need to send the bot type along with the packet, instead of "EnergyMech 11.22.33"
it will only need to send "11.22.33", the server will know the "EnergyMech" part, or whatever
your bot type is named. This string consists of nick, a single space, server name, a single space,
version number string, a terminating char \0 (octet 0). If you do not wish to send any of these strings,
you may send "unknown" as the string for the specified entry. For a complete unknown it would therefor
be "unknown unknown unknown\0".