[mIRCStats parser configuration file] // Here is a log parser that will convert your native Xchat 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@optushome.com.au // I hope this is useful to someone :) // // -Hurgh- // File Info [file Description] Xchat Default Log Parser (1.8.*) [Author] -Hurgh- // ---- Start of Rules ---- // TimeStamp Information [timestamp] %monthname% %2day% %2hour%:%2minute%:%2second% // Parsing Patterns in order of probability: [Normal Line] <%nick%> %text% [Action] * %nick% %text% [Mode change] [mode +o] --- %nick% gives channel operator status to %text% [mode -o] --- %nick% removes channel operator status from %text% [mode +v] --- %nick% gives voice to %text% [mode -v] --- %nick% removes voice from %text% [Join] --> %nick% (%addr%) has joined %channelname% [Part] <-- %nick% (%addr%) has left %channelname% <-- %nick% (%addr%) has left %channelname% (%text%) [Quit] <-- %nick% has quit (%text%) [Session Start] **** BEGIN LOGGING AT %anyword% %monthname% %day% %hour%:%minute%:%second% %year% **** BEGIN LOGGING AT %anyword% %monthname% %day% %hour%:%minute%:%second% %year% [Session Close] **** ENDING LOGGING AT %anyword% %monthname% %day% %hour%:%minute%:%second% %year% **** ENDING LOGGING AT %anyword% %monthname% %day% %hour%:%minute%:%second% %year% //[Session Time] [Kick] <-- %nick2% has kicked %nick% from %channelname% (%text%) --- You have been kicked from %channelname% by %nick2% (%text%) // This section is not needed //[Own Normal Line] // %text% [ChannelName] --> You are now talking on %channelname% [Rename] --- %nick%daft is now known as %nick2% [Topic Change] --- %nick% has changed the topic to: %text% [Skip] // If there is a way to use words as operator status then you have to remove the // correct lines from the list below --- Topic for %channelname% set by %nick% at %text% --- %nick% sets ban on %text% --- Disconnected %text% -%nick%- %text% //--- %text% gives channel operator status to %nick% >%nick%< %text% --- You are now known as %nick% //--- %text% gives voice to %nick% [Month names] Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec