1 [mIRCStats parser configuration file]
4 // Here is a log parser that will convert your native Xchat logs (default setings
5 // with timestamps) to stats.
6 // I have used it on a number of different log files and it has worked fine.
7 // Some of the files were up to 90mb in size and on that file, i only had 2
8 // lines that it did not know, and that is cause i had set the logger to raw mode
11 // If you have any comments please email me at hurgh@optushome.com.au
12 // I hope this is useful to someone :)
21 Xchat Default Log Parser (1.8.*)
26 // ---- Start of Rules ----
29 // TimeStamp Information
32 %monthname% %2day% %2hour%:%2minute%:%2second%
35 // Parsing Patterns in order of probability:
46 --- %nick% gives channel operator status to %text%
49 --- %nick% removes channel operator status from %text%
52 --- %nick% gives voice to %text%
55 --- %nick% removes voice from %text%
59 --> %nick% (%addr%) has joined %channelname%
62 <-- %nick% (%addr%) has left %channelname%
63 <-- %nick% (%addr%) has left %channelname% (%text%)
66 <-- %nick% has quit (%text%)
69 **** BEGIN LOGGING AT %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
70 **** BEGIN LOGGING AT %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
73 **** ENDING LOGGING AT %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
74 **** ENDING LOGGING AT %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
80 <-- %nick2% has kicked %nick% from %channelname% (%text%)
81 --- You have been kicked from %channelname% by %nick2% (%text%)
84 // This section is not needed
89 --> You are now talking on %channelname%
92 --- %nick%daft is now known as %nick2%
95 --- %nick% has changed the topic to: %text%
98 // If there is a way to use words as operator status then you have to remove the
99 // correct lines from the list below
100 --- Topic for %channelname% set by %nick% at %text%
101 --- %nick% sets ban on %text%
102 --- Disconnected %text%
104 //--- %text% gives channel operator status to %nick%
106 --- You are now known as %nick%
107 //--- %text% gives voice to %nick%