]> jfr.im git - irc.git/blob - mircstats/storage.googleapis.com/mircstats/parser/miau_parser.txt
6284c3de66be4700556a4cfa4a18b0fbafae8dfe
[irc.git] / mircstats / storage.googleapis.com / mircstats / parser / miau_parser.txt
1 [mIRCStats parser configuration file]
2
3 // File information (these lines are shown in mIRCStats)
4
5 [File Description]
6 MIAU
7
8 [Author]
9 Thomas Bartusch http://webasyl.de/
10
11 // Allowed variables are:
12 //
13 // Single-word variables:
14 // %nick%, %nick2%, %addr%, %channelname%, %monthname%, %ampm%, %anyword%
15 //
16 // Numeric variables:
17 // %hour%, %minute%, %second%,
18 // %day%, %month%, %year%, %anynum%
19 //
20 // Multi-word variables (only one allowed per line):
21 // %text%, %mode%, %anytext%
22
23 // Main rules:
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")
30
31
32
33 // ----------------Parser configuration rules start here-------------------------------
34
35 // timestamp parsing rules:
36
37 [timestamp]
38 %monthname% %day% %2hour%:%2minute%:%2second%
39
40 // Parsing patterns in order of probability:
41
42 [Normal line]
43 <%nick%> %text%
44
45 [Action]
46 * %nick% %text%
47
48 [Mode change]
49 --- %nick% sets mode %mode% %text%
50 *** %nick% sets mode: %mode% %text%
51
52
53 [Join]
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%
62
63 [Part]
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%)
73
74 [Quit]
75 <-- %nick% (%addr%) Quit (%text%)
76 <-- %nick% (%addr%) Quit
77 <-- %nick% Quit (%text%)
78 <-- %nick% Quit
79 <-- Quits: %nick% (%addr%) (%text%)
80 <-- %nick% has quit IRC (%text%)
81 <-- %nick% (%addr%) Quit (%text%)
82 <-- %nick% (%addr%) Quit
83 <-- %nick% Quit (%text%)
84 <-- %nick% Quit
85 <-- Quits: %nick% (%addr%) (%text%)
86 <-- %nick% has quit (%text%)
87
88 [Session Start]
89 Session Start: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
90 Session Start: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
91
92
93 [Skip]
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%
97
98 [Session Close]
99 Session Close: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
100 Session Close: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
101
102
103 [Session Time]
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%
107
108 [Own normal line]
109 > %text%
110
111 [Channelname]
112 * Now talking in %channelname%
113 *** Now talking in %channelname%
114 Session Ident: %channelname%
115
116 [Rename]
117 --- %nick% is now known as %nick2%
118
119
120 [Topic change]
121 --- %nick% changes topic to '%text%'
122
123
124
125 [Kick]
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%)
130
131
132 [Skip]
133 // skip these unused lines
134 --- Topic is %text%
135
136 --- Disconnected
137
138
139
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
143
144 [Month names]
145 Jan
146 Feb
147 Mar
148 Apr
149 May
150 Jun
151 Jul
152 Aug
153 Sep
154 Oct
155 Nov
156 Dec