[mIRCStats parser configuration file] // Here is a log parser that will convert your native HydraIRC logs (default setings // with timestamps) to stats. // I have used it on a number of different log files and it has worked fine. // Some of the files were up to 90mb in size and on that file, i only had 2 // lines that it did not know, and that is cause i had set the logger to raw mode // for a few seconds. // // If you have any comments please email me at hurgh@hurgh.org // I hope this is useful to someone :) // // -Hurgh- // File Info [file Description] HydraIRC Default Log Parser (0.3.151) [Author] -Hurgh- // ---- Start of Rules ---- // timestamp parsing rules: [timestamp] [%2hour%:%2minute%:%2second%] [%year%-%2month%-%2day% %2hour%:%2minute%:%2second%] // Parsing patterns in order of probability: [Normal line] <%nick%> %text% [Action] * %nick% %text% [Mode change] *** %nick% sets channel %channelname% mode %mode% %text% [Join] *** %nick% (%addr%) joined [Part] *** %nick% (%addr%) left (%text%) [Quit] *** %nick% quit (%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% [Rename] *** %nick% changed nick to %nick2% [Topic change] *** %nick% changed topic to %text% [Kick] *** %nick% was kicked from %channelname% by %nick2% (%text%) [Skip] // skip these unused lines * %nick% sets mode %anyword% *** Topic is %text% * 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