]>
Commit | Line | Data |
---|---|---|
3bd189cb JR |
1 | [mIRCStats parser configuration file]\r |
2 | \r | |
3 | // File information (these lines are shown in mIRCStats)\r | |
4 | \r | |
5 | [File Description]\r | |
6 | Mirc 6.14, Nexgen Acidmax v2.0.29.51 compliant\r | |
7 | \r | |
8 | [Author]\r | |
9 | Hybrid-Halo\r | |
10 | \r | |
11 | // Allowed variables are:\r | |
12 | // \r | |
13 | // Single-word variables:\r | |
14 | // %nick%, %nick2%, %addr%, %channelname%, %monthname%, %ampm%, %anyword%\r | |
15 | // \r | |
16 | // Numeric variables:\r | |
17 | // %hour%, %minute%, %second%,\r | |
18 | // %day%, %month%, %year%, %anynum%\r | |
19 | // \r | |
20 | // Multi-word variables (only one allowed per line):\r | |
21 | // %text%, %mode%, %anytext%\r | |
22 | \r | |
23 | // Main rules:\r | |
24 | // - Variables have to be delimited by some non-variable characters like [%hour%:%minute%]\r | |
25 | // (unless they are fixed length ones like %2hour% (2-digit numeric hour).\r | |
26 | // - You can only use one multi-word variable per line.\r | |
27 | // - Don't use the same variable multiple times on any line.\r | |
28 | // - Use "Test Parser" option to verify your new parsing rules ("Log parser"-settings page).\r | |
29 | // - Check mIRCStats help for more info ("Setting options/Log parser")\r | |
30 | \r | |
31 | \r | |
32 | \r | |
33 | // ----------------Parser configuration rules start here-------------------------------\r | |
34 | \r | |
35 | // timestamp parsing rules:\r | |
36 | \r | |
37 | [timestamp]\r | |
38 | [%2hour%:%2minute%]\r | |
39 | [%2hour%:%2minute%:%2second%]\r | |
40 | %2hour%%2minute%\r | |
41 | [%2hour%:%2minute%%2ampm%]\r | |
42 | \r | |
43 | \r | |
44 | // Parsing patterns in order of probability:\r | |
45 | \r | |
46 | [Normal line]\r | |
47 | <%nick%> %text%\r | |
48 | [%nick%] %text%\r | |
49 | \r | |
50 | \r | |
51 | [Action]\r | |
52 | * %nick% %text%\r | |
53 | \r | |
54 | [Mode change]\r | |
55 | * %nick% sets mode: %mode% %text%\r | |
56 | *** %nick% sets mode: %mode% %text%\r | |
57 | \r | |
58 | \r | |
59 | [Join]\r | |
60 | * %nick% (%addr%) has joined %channelname%\r | |
61 | * %nick% has joined %channelname%\r | |
62 | * Joins: %nick% (%addr%)\r | |
63 | * Rejoined channel %channelname%\r | |
64 | *** %nick% (%addr%) has joined %channelname%\r | |
65 | *** %nick% has joined %channelname%\r | |
66 | *** Joins: %nick% (%addr%)\r | |
67 | *** Rejoined channel %channelname%\r | |
68 | \r | |
69 | [Part]\r | |
70 | * %nick% (%addr%) has left %channelname% (%text%)\r | |
71 | * %nick% (%addr%) has left %channelname%\r | |
72 | * %nick% has left %channelname% (%text%)\r | |
73 | * %nick% has left %channelname%\r | |
74 | * Parts: %nick% (%addr%) (%text%)\r | |
75 | *** %nick% (%addr%) has left %channelname% (%text%)\r | |
76 | *** %nick% (%addr%) has left %channelname%\r | |
77 | *** %nick% has left %channelname% (%text%)\r | |
78 | *** %nick% has left %channelname%\r | |
79 | * Parts: %nick% (%addr%) (%text%)\r | |
80 | \r | |
81 | [Quit]\r | |
82 | * %nick% (%addr%) Quit (%text%)\r | |
83 | * %nick% (%addr%) Quit\r | |
84 | * %nick% Quit (%text%)\r | |
85 | * %nick% Quit\r | |
86 | * Quits: %nick% (%addr%) (%text%)\r | |
87 | * %nick% has quit IRC (%text%)\r | |
88 | *** %nick% (%addr%) Quit (%text%)\r | |
89 | *** %nick% (%addr%) Quit\r | |
90 | *** %nick% Quit (%text%)\r | |
91 | *** %nick% Quit\r | |
92 | *** Quits: %nick% (%addr%) (%text%)\r | |
93 | *** %nick% has quit IRC (%text%)\r | |
94 | \r | |
95 | [Session Start]\r | |
96 | Session Start: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%\r | |
97 | Session Start: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%\r | |
98 | \r | |
99 | \r | |
100 | [Skip]\r | |
101 | // skip close message at 00:00:00 (Daily logs) to prevent empty day appearing in the stats\r | |
102 | Session Close: %anyword% %anyword% %day% 00:00:00 %anynum%\r | |
103 | Session Close: %anyword% %anyword% %day% 00:00:00 %anynum%\r | |
104 | \r | |
105 | [Session Close]\r | |
106 | Session Close: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%\r | |
107 | Session Close: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%\r | |
108 | \r | |
109 | \r | |
110 | [Session Time]\r | |
111 | Session Time: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%\r | |
112 | Session Time: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%\r | |
113 | \r | |
114 | [Own normal line]\r | |
115 | > %text%\r | |
116 | \r | |
117 | [Channelname]\r | |
118 | * Now talking in %channelname%\r | |
119 | *** Now talking in %channelname%\r | |
120 | Session Ident: %channelname%\r | |
121 | \r | |
122 | [Rename]\r | |
123 | * %nick% is now known as %nick2%\r | |
124 | *** %nick% is now known as %nick2%\r | |
125 | \r | |
126 | [Topic change]\r | |
127 | * %nick% changes topic to '%text%'\r | |
128 | *** %nick% changes topic to '%text%'\r | |
129 | \r | |
130 | \r | |
131 | [Kick]\r | |
132 | * %nick% was kicked by %nick2% (%text%)\r | |
133 | *** %nick% was kicked by %nick2% (%text%)\r | |
134 | * You were kicked by %nick2% (%text%)\r | |
135 | *** You were kicked by %nick2% (%text%)\r | |
136 | \r | |
137 | \r | |
138 | [Skip]\r | |
139 | // skip these unused lines\r | |
140 | *** %nick% sets mode: %anyword%\r | |
141 | *** Topic is %text%\r | |
142 | * Disconnected\r | |
143 | *** Disconnected\r | |
144 | \r | |
145 | \r | |
146 | \r | |
147 | // If you use %monthname% in your parser configuration\r | |
148 | // you need to define 12 month strings that are converted\r | |
149 | // into a month number here\r | |
150 | \r | |
151 | [Month names]\r | |
152 | Jan\r | |
153 | Feb\r | |
154 | Mar\r | |
155 | Apr\r | |
156 | May\r | |
157 | Jun\r | |
158 | Jul\r | |
159 | Aug\r | |
160 | Sep\r | |
161 | Oct\r | |
162 | Nov\r | |
163 | Dec\r |