[mIRCStats parser configuration file] // File information (these lines are shown in mIRCStats) [File Description] irssi (0.8) compliant [Author] Tim // This should work to logs made with default setting // // Allowed variables are: // // Single-word variables: // %nick%, %nick2%, %addr%, %channelname%, %monthname%, %ampm%, %anyword% // // Numeric variables: // %hour%, %minute%, %second%, // %day%, %month%, %year%, %anynum% // // 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 multi-word variable per line. // - Don't use the same variable multiple times on any line. // - 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% %2hour%:%2minute% // Parsing patterns in order of probability: [Normal line] <%nick%> %text% < %nick%> %text% [Action] * %nick% %text% [Mode change] -!- mode/%channelname% [%mode% %text%] by %nick% * %nick% sets mode: %mode% %text% *** %nick% sets mode: %mode% %text% [Join] -!- %nick% [%addr%] has joined %channelname% -!- %nick% (%anytext%) [%addr%] has joined %channelname% *** %nick% (%addr%) has joined channel %channelname% [Part] -!- %nick% [%addr%] has left %channelname% [%text%] -!- %nick% has left %channelname% [%text%] *** %nick% (%addr%) has left channel %channelname% (%text%) [Quit] -!- %nick% [%addr%] has quit [%text%] * %nick% (%addr%) Quit (%text%) * %nick% (%addr%) Quit * %nick% Quit (%text%) * %nick% Quit * Quits: %nick% (%addr%) (%text%) *** %nick% (%addr%) Quit (%text%) *** %nick% (%addr%) Quit *** %nick% Quit (%text%) *** %nick% Quit *** Quits: %nick% (%addr%) (%text%) *** Signoff: %nick% (%text%) [Session Start] // log_open_string = --- Log opened %a %b %d %H:%M:%S %Y --- Log opened %anyword% %monthname% %day% %hour%:%minute%:%second% %year% [Session Close] // log_close_string = --- Log closed %a %b %d %H:%M:%S %Y --- Log closed %anyword% %monthname% %day% %hour%:%minute%:%second% %year% // not matched due overlapping-bug //[Session Time] // log_day_changed = --- Day changed %a %b %d %Y //--- Day changed %anyword% %monthname% %day% %year% [Channelname] -!- Topic for %channelname%: %anytext% -!- Irssi: Join to %channelname% was synced in %anytext% -!- %anyword% changed the topic of %channelname% %anytext% [Rename] -!- %nick% is now known as %nick2% [Topic change] -!- %nick% changed the topic of %channelname% to: %text% [Kick] -!- %nick% was kicked from %channelname% by %nick2% [%text%] // due -!- star no lines are mixed so nothing required to skip [Skip] //// skip these unused lines //-!- Netsplit %anytext% //// friends.pl generated lines: //-!- %nick% is a friend, %anytext% // //-!- ServerMode%anytext% //-!- Irssi: %channelname%: Total%anytext% // 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