]> jfr.im git - irc.git/blob - mircstats/storage.googleapis.com/mircstats/parser/BNC_Parser.txt
36323ab187bce84912a3cc4f4bc31d11ba96862f
[irc.git] / mircstats / storage.googleapis.com / mircstats / parser / BNC_Parser.txt
1 [mIRCStats parser configuration file]
2
3 // File information (these lines are shown in mIRCStats)
4
5 [File Description]
6 psyBNC compliant
7
8 [Author]
9 zafer
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
25 [%hour%:%minute%]
26 // (unless they are fixed length ones like %2hour% (2-digit numeric hour).
27 // - You can only use one multi-word variable per line.
28 // - Don't use the same variable multiple times on any line.
29 // - Use "Test Parser" option to verify your new parsing rules ("Log
30 parser"-settings page).
31 // - Check mIRCStats help for more info ("Setting options/Log parser")
32
33
34
35 // ----------------Parser configuration rules start
36 here-------------------------------
37
38 // timestamp parsing rules:
39
40 [timestamp]
41 %4year%-%2month%-%2day%-%2hour%-%2minute%-%2second%
42
43
44 // Parsing patterns in order of probability:
45
46 [Normal line]
47 %channelname%::%nick%!%addr% PRIVMSG %channelname% :%text%
48
49
50 [Action]
51 %channelname%::%nick%!%addr% PRIVMSG %channelname% :ACTION %text%
52
53 [Mode change]
54 %channelname%::%nick%!%addr% MODE %channelname% %mode% %text%
55
56
57 [Join]
58 %channelname%::%nick%!%addr% JOIN :%channelname%
59
60 [Part]
61 %channelname%::%nick%!%addr% PART %channelname%
62
63 [Quit]
64
65 [Session Start]
66 Session Start: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
67
68 [Session Close]
69 Session Close: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
70
71 [Session Time]
72 Session Time: %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
73
74 [Channelname]
75
76 [Rename]
77
78 [Topic change]
79
80 [Kick]
81 %channelname%::%nick2%!%addr% KICK %channelname% %nick% :%text%
82
83
84 [Skip]
85
86
87 // If you use %monthname% in your parser configuration
88 // you need to define 12 month strings that are converted
89 // into a month number here
90
91 [Month names]
92 Jan
93 Feb
94 Mar
95 Apr
96 May
97 Jun
98 Jul
99 Aug
100 Sep
101 Oct
102 Nov
103 Dec