]> jfr.im git - irc.git/blob - mircstats/storage.googleapis.com/mircstats/parser/UPP_parser.txt
d743c26a417d523f8c065be4bd3b236a64927193
[irc.git] / mircstats / storage.googleapis.com / mircstats / parser / UPP_parser.txt
1 [mIRCStats parser configuration file]
2
3 // File information (these lines are shown in mIRCStats)
4
5 [File Description]
6 UPP 2.00 compliant
7
8 [Author]
9 DaCaptn
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 .:%2hour%·%2minute%·%2second%:.
39
40
41
42 // Parsing patterns in order of probability:
43
44 [Normal line]
45 «%nick%» %text%
46
47 [Action]
48 * %nick% %text%
49
50 [Mode change]
51 %nick% sets mode: %mode% %text%
52
53 [Join]
54 joins: %nick% (%addr%) %anytext%
55
56 [Part]
57 parts: %nick% (%addr%) (%text) %anytext%
58 parts: %nick% (%addr%) %anytext%
59
60 [Quit]
61 quits: %nick% (%addr%) (%text%)
62 quits: %nick% (%addr%)
63
64 [Session Start]
65 Session Start: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
66 Session Start: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
67
68
69 [Skip]
70 // skip close message at 00:00:00 (Daily logs) to prevent empty day appearing in the stats
71 Session Close: %anyword% %anyword% %day% 00:00:00 %anynum%
72 Session Close: %anyword% %anyword% %day% 00:00:00 %anynum%
73
74 [Session Close]
75 Session Close: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
76 Session Close: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
77
78
79 [Session Time]
80 Session Time: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
81 Session Time: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
82
83 [Own normal line]
84 -> %text%
85
86
87 [Channelname]
88 [%] Now talking in [%channelname%]
89 Session Ident: %channelname%
90
91 [Rename]
92 %nick% (%addr%) is now known as %nick2%
93
94 [Topic change]
95 [%] [%nick%] changes topic to '%text%'
96
97
98 [Kick]
99 %nick% was kicked by %nick2% (%text%)
100 you were kicked by %nick2% (%text%)
101
102
103 [Skip]
104 // skip these unused lines
105 *** %nick% sets mode: %anyword%
106 *** Topic is %text%
107 * Disconnected
108 *** Disconnected
109
110 //Notice
111 -%nick%- %text%
112
113 //Echo Information
114 [%] %text%
115 (error) %anytext%
116
117 //
118 %anynum%:on signal:%anytext%
119
120 //ctcp
121 %nick%:[%channelname%] %anytext%
122 [%nick%] %anytext%
123 [%nick% %anyword% reply] %anytext%
124
125 [Month names]
126 Jan
127 Feb
128 Mar
129 Apr
130 May
131 Jun
132 Jul
133 Aug
134 Sep
135 Oct
136 Nov
137 Dec