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