1 [mIRCStats parser configuration file]
3 // File information (these lines are shown in mIRCStats)
9 Thomas Bartusch http://webasyl.de/
11 // Allowed variables are:
13 // Single-word variables:
14 // %nick%, %nick2%, %addr%, %channelname%, %monthname%, %ampm%, %anyword%
17 // %hour%, %minute%, %second%,
18 // %day%, %month%, %year%, %anynum%
20 // Multi-word variables (only one allowed per line):
21 // %text%, %mode%, %anytext%
24 // - Variables have to be delimited by some non-variable characters like [%hour%:%minute%]
25 // (unless they are fixed length ones like %2hour% (2-digit numeric hour).
26 // - You can only use one multi-word variable per line.
27 // - Don't use the same variable multiple times on any line.
28 // - Use "Test Parser" option to verify your new parsing rules ("Log parser"-settings page).
29 // - Check mIRCStats help for more info ("Setting options/Log parser")
33 // ----------------Parser configuration rules start here-------------------------------
35 // timestamp parsing rules:
38 %monthname% %day% %2hour%:%2minute%:%2second%
40 // Parsing patterns in order of probability:
49 --- %nick% sets mode %mode% %text%
50 *** %nick% sets mode: %mode% %text%
54 --> %nick% (%addr%) has joined %channelname%
55 --> %nick% has joined %channelname%
56 --> Joins: %nick% (%addr%)
57 --> Rejoined channel %channelname%
58 --> %nick% (%addr%) has joined %channelname%
59 --> %nick% has joined %channelname%
60 --> Joins: %nick% (%addr%)
61 --> Rejoined channel %channelname%
64 <-- %nick% (%addr%) has left %channelname% (%text%)
65 <-- %nick% has left %channelname% (%text%)
66 <-- %nick% has left %channelname%
67 <-- Parts: %nick% (%addr%) (%text%)
68 *** %nick% (%addr%) has left %channelname% (%text%)
69 *** %nick% (%addr%) has left %channelname%
70 *** %nick% has left %channelname% (%text%)
71 *** %nick% has left %channelname%
72 * Parts: %nick% (%addr%) (%text%)
75 <-- %nick% (%addr%) Quit (%text%)
76 <-- %nick% (%addr%) Quit
77 <-- %nick% Quit (%text%)
79 <-- Quits: %nick% (%addr%) (%text%)
80 <-- %nick% has quit IRC (%text%)
81 <-- %nick% (%addr%) Quit (%text%)
82 <-- %nick% (%addr%) Quit
83 <-- %nick% Quit (%text%)
85 <-- Quits: %nick% (%addr%) (%text%)
86 <-- %nick% has quit (%text%)
89 Session Start: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
90 Session Start: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
94 // skip close message at 00:00:00 (Daily logs) to prevent empty day appearing in the stats
95 Session Close: %anyword% %anyword% %day% 00:00:00 %anynum%
96 Session Close: %anyword% %anyword% %day% 00:00:00 %anynum%
99 Session Close: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
100 Session Close: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
104 Session Time: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
105 Session Time: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
106 **** BEGIN LOGGING AT %anyword% %monthname% %day% %2hour%:%2minute%:%2second% %year%
112 * Now talking in %channelname%
113 *** Now talking in %channelname%
114 Session Ident: %channelname%
117 --- %nick% is now known as %nick2%
121 --- %nick% changes topic to '%text%'
126 %nick% was kicked by %nick2% (%text%)
127 --- %nick% was kicked by %nick2% (%text%)
128 You were kicked by %nick2% (%text%)
129 --- You were kicked by %nick2% (%text%)
133 // skip these unused lines
140 // If you use %monthname% in your parser configuration
141 // you need to define 12 month strings that are converted
142 // into a month number here