]> jfr.im git - irc.git/blob - mircstats/storage.googleapis.com/mircstats/parser/Xtreme_parser.txt
fd2e279acefb23647ff7b8f7e2cd658541a36f33
[irc.git] / mircstats / storage.googleapis.com / mircstats / parser / Xtreme_parser.txt
1 [mIRCStats parser configuration file]
2
3 // File information (these lines are shown in mIRCStats)
4
5 [File Description]
6 Xtreme script
7
8 [Author]
9 fuzileiro
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%]
39 [%2hour%:%2minute%:%2second%]
40 %2hour%%2minute%
41
42
43
44
45
46
47 // Parsing patterns in order of probability:
48
49 [Normal line]
50 <%nick%> %text%
51 [ %nick% ] %text%
52
53
54 [Action]
55 * %nick% %text%
56 ! %nick% %text%
57
58 [Mode change]
59 * %nick% sets mode: %mode% %text%
60 *** %nick% sets mode: %mode% %text%
61 · · ChanMode: %nick% sets mode [ %mode% ] %text%
62
63 [Join]
64 * %nick% (%addr%) has joined %channelname%
65 * %nick% has joined %channelname%
66 * Joins: %nick% (%addr%)
67 * Rejoined channel %channelname%
68 *** %nick% (%addr%) has joined %channelname%
69 *** %nick% has joined %channelname%
70 *** Joins: %nick% (%addr%)
71 *** Rejoined channel %channelname%
72 · · Joins: %nick% [ %addr%]
73
74 [Part]
75 * %nick% (%addr%) has left %channelname% (%text%)
76 * %nick% (%addr%) has left %channelname%
77 * %nick% has left %channelname% (%text%)
78 * %nick% has left %channelname%
79 * Parts: %nick% (%addr%) (%text%)
80 *** %nick% (%addr%) has left %channelname% (%text%)
81 *** %nick% (%addr%) has left %channelname%
82 *** %nick% has left %channelname% (%text%)
83 *** %nick% has left %channelname%
84 * Parts: %nick% (%addr%) (%text%)
85 · · Parts: %nick% [ %addr%]
86
87
88 [Quit]
89 * %nick% (%addr%) Quit (%text%)
90 * %nick% (%addr%) Quit
91 * %nick% Quit (%text%)
92 * %nick% Quit
93 * Quits: %nick% (%addr%) (%text%)
94 *** %nick% (%addr%) Quit (%text%)
95 *** %nick% (%addr%) Quit
96 *** %nick% Quit (%text%)
97 *** %nick% Quit
98 *** Quits: %nick% (%addr%) (%text%)
99 · · Quits: %nick% [ %addr%] : [ %text% ]
100
101 [Session Start]
102 Session Start: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
103
104 [Session Close]
105 Session Close: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
106
107 [Session Time]
108 Session Time: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
109
110 [Own normal line]
111 > %text%
112
113 [Channelname]
114 * Now talking in %channelname%
115 *** Now talking in %channelname%
116 Session Ident: %channelname%
117 · · Now talking in %channelname%
118
119 [Rename]
120 * %nick% is now known as %nick2%
121 *** %nick% is now known as %nick2%
122 · · Nick: %nick% : [ %nick2% ]
123
124 [Topic change]
125 * %nick% changes topic to '%text%'
126 *** %nick% changes topic to '%text%'
127 · · Topic: [ %nick% ] : %text%
128
129
130 [Kick]
131 * %nick% was kicked by %nick2% (%text%)
132 *** %nick% was kicked by %nick2% (%text%)
133 * You were kicked by %nick2% (%text%)
134 *** You were kicked by %nick2% (%text%)
135 · · Kicks: %nick% was kicked from %channelname% by [ %nick2% ] : [ %text% ]
136 · · Kicks: You were kicked from %channelname% by [ %nick2% ] : [ %text% ]
137
138
139 [Skip]
140 // skip these unused lines
141 *** %nick% sets mode: %anyword%
142 *** Topic is %text%
143 * Disconnected
144 *** Disconnected
145
146
147
148 // If you use %monthname% in your parser configuration
149 // you need to define 12 month strings that are converted
150 // into a month number here
151
152 [Month names]
153 Jan
154 Feb
155 Mar
156 Apr
157 May
158 Jun
159 Jul
160 Aug
161 Sep
162 Oct
163 Nov
164 Dec