[mIRCStats parser configuration file]

// File information (these lines are shown in mIRCStats)

[File Description]
mIRC 7.22 compliant

[Author]
Ave

// Allowed variables are:
//
// Single-word variables: 
//    %nick%, %nick2%, %addr%, %channelname%, %monthname%, %ampm%, %anyword%
//
// Multi-word name variables: 
//    %name%, %anyname% (can be used instead of %nick% or %anyword%):
//
// Numeric variables:
//    %hour%, %minute%, %second%,
//    %day%, %month%, %year%, %anynum%
//
// Complex multi-word variables (only one allowed per line): 
//    %text%, %mode%, %anytext%

// Main rules: 
// - Variables have to be delimited by some non-variable characters like [%hour%:%minute%]
//   (unless they are fixed length ones like %2hour% (2-digit numeric hour).
// - You can only use one complex multi-word variable per line.
// - Don't use the same variable multiple times on any line (except %anyword%, %anyname%, %anynum%).
// - Use "Test Parser" option to verify your new parsing rules ("Log parser"-settings page).
// - Check mIRCStats help for more info ("Setting options/Log parser")


// ----------------Parser configuration rules start here-------------------------------

// timestamp parsing rules:

[timestamp]
[%2hour%:%2minute%]
[%2hour%:%2minute%:%2second%]
%2hour%%2minute%



// Parsing patterns in order of probability:

[Normal line]
<%nick%> %text%

[Action]
* %nick% %text%

[Mode change]
* %nick% sets mode: %mode% %text%
*** %nick% sets mode: %mode% %text%


[Join]
* %nick% (%addr%) has joined %channelname%
* %nick% has joined %channelname%
* Joins: %nick% (%addr%)
* Rejoined channel %channelname%
*** %nick% (%addr%) has joined %channelname%
*** %nick% has joined %channelname%
*** Joins: %nick% (%addr%)
*** Rejoined channel %channelname%

[Part]
* %nick% (%addr%) has left %channelname% (%text%)
* %nick% (%addr%) has left %channelname%
* %nick% has left %channelname% (%text%)
* %nick% has left %channelname%
* Parts: %nick% (%addr%) (%text%)
*** %nick% (%addr%) has left %channelname% (%text%)
*** %nick% (%addr%) has left %channelname%
*** %nick% has left %channelname% (%text%)
*** %nick% has left %channelname%
* Parts: %nick% (%addr%) (%text%)

[Quit]
* %nick% (%addr%) Quit (%text%)
* %nick% (%addr%) Quit
* %nick% Quit (%text%)
* %nick% Quit
* Quits: %nick% (%addr%) (%text%)
* %nick% has quit IRC (%text%)
*** %nick% (%addr%) Quit (%text%)
*** %nick% (%addr%) Quit
*** %nick% Quit (%text%)
*** %nick% Quit
*** Quits: %nick% (%addr%) (%text%)
*** %nick% has quit IRC (%text%)

[Session Start]
Session Start: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
Session Start: %anyword% %monthname%  %day% %hour%:%minute%:%second% %year%


[Skip]
// skip close message at 00:00:00 (Daily logs) to prevent empty day appearing in the stats
Session Close: %anyword% %anyword% %day% 00:00:00 %anynum%
Session Close: %anyword% %anyword%  %day% 00:00:00 %anynum%

[Session Close]
Session Close: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
Session Close: %anyword% %monthname%  %day% %hour%:%minute%:%second% %year%


[Session Time]
Session Time: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
Session Time: %anyword% %monthname%  %day% %hour%:%minute%:%second% %year%

[Own normal line]
> %text%

[Channelname]
* Now talking in %channelname%
*** Now talking in %channelname%
Session Ident: %channelname%

[Rename]
* %nick% is now known as %nick2%
*** %nick% is now known as %nick2%

[Topic change]
* %nick% changes topic to '%text%'
*** %nick% changes topic to '%text%'


[Kick]
* %nick% was kicked by %nick2% (%text%)
*** %nick% was kicked by %nick2% (%text%)
* You were kicked by %nick2% (%text%)
*** You were kicked by %nick2% (%text%)


[Skip]
// skip these unused lines
*** %nick% sets mode: %anyword%
*** Topic is %text%
* Disconnected
*** Disconnected



// If you use %monthname% in your parser configuration
// you need to define 12 month strings that are converted
// into a month number here

[Month names]
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
