]> jfr.im git - irc.git/blame - mircstats/storage.googleapis.com/mircstats/parser/Trillian_parser.txt
init
[irc.git] / mircstats / storage.googleapis.com / mircstats / parser / Trillian_parser.txt
CommitLineData
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
6Trillian\r
7\r
8[Author]\r
9Ave\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\r
40\r
41// Parsing patterns in order of probability:\r
42\r
43[Normal line]\r
44<%nick%> %text%\r
45\r
46\r
47[Action]\r
48* %nick% %text%\r
49\r
50[Mode change]\r
51*** Mode change "%mode% %text%" for channel %anyword% by %nick%\r
52\r
53[Join]\r
54*** %nick% (%addr%) has joined channel %channelname%\r
55\r
56[Part]\r
57*** %nick% has left %channelname%\r
58\r
59[Quit]\r
60* %nick% (%addr%) Quit (%text%)\r
61\r
62[Session Start]\r
63Session Start (%anyword%): %anyword% %monthname% %day% %hour%:%minute%:%second% %year%\r
64\r
65[Session Close]\r
66Session Close (%anyword%): %anyword% %monthname% %day% %hour%:%minute%:%second% %year%\r
67\r
68[Session Time]\r
69Session Time (%anyword%): %anyword% %monthname% %day% %hour%:%minute%:%second% %year%\r
70\r
71[Own normal line]\r
72> %text%\r
73\r
74[Channelname]\r
75*** Now talking in %channelname%.\r
76\r
77[Rename]\r
78*** %nick% is now known as %nick2%\r
79\r
80[Topic change]\r
81*** %nick% has changed the topic on channel %anyword% to %text%\r
82\r
83\r
84[Kick]\r
85*** %nick% has been kicked off channel %anyword% by %nick2% (%text%)\r
86\r
87[Skip]\r
88// skip these unused lines\r
89\r
90\r
91// If you use %monthname% in your parser configuration\r
92// you need to define 12 month strings that are converted\r
93// into a month number here\r
94\r
95[Month names]\r
96Jan\r
97Feb\r
98Mar\r
99Apr\r
100May\r
101Jun\r
102Jul\r
103Aug\r
104Sep\r
105Oct\r
106Nov\r
107Dec\r