]> jfr.im git - irc.git/blob - mircstats/storage.googleapis.com/mircstats/parser/zIRC_parser.txt
03ca94821023c366ab6c7bd8d2b1cb38619f8bf9
[irc.git] / mircstats / storage.googleapis.com / mircstats / parser / zIRC_parser.txt
1 [mIRCStats parser configuration file]
2
3 // File information (these lines are shown in mIRCStats)
4
5 [File Description]
6 [ziRC] v8.4 for mIRC 5.82
7
8 [Author]
9 Webster Swenson
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 <%nick%> %text%
49
50
51 [Action]
52 * %nick% %text%
53
54 [Mode change]
55 ¯¯ mode: %nick%: %mode% %text%
56 ¯¯ mode: %nick%: %mode%
57 * %nick% sets mode: %mode% %text%
58 *** %nick% sets mode: %mode% %text%
59
60
61 [Join]
62 ¯¯ joins: %nick%[%addr%]
63 ¯¯ joins: %nick%[%addr%] %anytext%
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
73 [Part]
74 ¯¯ parts: %nick%[%addr%]
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
86 [Quit]
87 ¯¯ quits: %nick%[%addr%] (%text%) ÿ[WhoWas]ÿ
88 ¯¯ quits: %nick%[%addr%] %anyword% (%text%) ÿ[WhoWas]ÿ
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
100 [Session Start]
101 Session Start: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
102
103 [Session Close]
104 Session Close: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
105
106 [Session Time]
107 Session Time: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
108
109 [Own normal line]
110 > %text%
111
112 [Channelname]
113 * Now talking in %channelname%
114 *** Now talking in %channelname%
115 Session Ident: %channelname%
116
117 [Rename]
118 ¯¯ %nick% is now known as %nick2%
119 * %nick% is now known as %nick2%
120 *** %nick% is now known as %nick2%
121
122 [Topic change]
123 ¯¯ %nick% changes topic to: '%text%'
124 * %nick% changes topic to '%text%'
125 *** %nick% changes topic to '%text%'
126
127
128 [Kick]
129 ¯¯ %nick% was kicked by %nick2% (%text%)
130 * %nick% was kicked by %nick2% (%text%)
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
136
137 [Skip]
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