]> jfr.im git - irc.git/blob - mircstats/storage.googleapis.com/mircstats/parser/xchat_parser.txt
59099977b553cf99f32fe82cc2ec78caffd3ee42
[irc.git] / mircstats / storage.googleapis.com / mircstats / parser / xchat_parser.txt
1 [mIRCStats parser configuration file]
2
3
4 // Here is a log parser that will convert your native Xchat logs (default setings
5 // with timestamps) to stats.
6 // I have used it on a number of different log files and it has worked fine.
7 // Some of the files were up to 90mb in size and on that file, i only had 2
8 // lines that it did not know, and that is cause i had set the logger to raw mode
9 // for a few seconds.
10 //
11 // If you have any comments please email me at hurgh@optushome.com.au
12 // I hope this is useful to someone :)
13 //
14 // -Hurgh-
15
16
17
18
19 // File Info
20 [file Description]
21 Xchat Default Log Parser (1.8.*)
22
23 [Author]
24 -Hurgh-
25
26 // ---- Start of Rules ----
27
28
29 // TimeStamp Information
30
31 [timestamp]
32 %monthname% %2day% %2hour%:%2minute%:%2second%
33
34
35 // Parsing Patterns in order of probability:
36
37 [Normal Line]
38 <%nick%> %text%
39
40 [Action]
41 * %nick% %text%
42
43 [Mode change]
44
45 [mode +o]
46 --- %nick% gives channel operator status to %text%
47
48 [mode -o]
49 --- %nick% removes channel operator status from %text%
50
51 [mode +v]
52 --- %nick% gives voice to %text%
53
54 [mode -v]
55 --- %nick% removes voice from %text%
56
57
58 [Join]
59 --> %nick% (%addr%) has joined %channelname%
60
61 [Part]
62 <-- %nick% (%addr%) has left %channelname%
63 <-- %nick% (%addr%) has left %channelname% (%text%)
64
65 [Quit]
66 <-- %nick% has quit (%text%)
67
68 [Session Start]
69 **** BEGIN LOGGING AT %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
70 **** BEGIN LOGGING AT %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
71
72 [Session Close]
73 **** ENDING LOGGING AT %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
74 **** ENDING LOGGING AT %anyword% %monthname% %day% %hour%:%minute%:%second% %year%
75
76 //[Session Time]
77
78
79 [Kick]
80 <-- %nick2% has kicked %nick% from %channelname% (%text%)
81 --- You have been kicked from %channelname% by %nick2% (%text%)
82
83
84 // This section is not needed
85 //[Own Normal Line]
86 //<hurgh> %text%
87
88 [ChannelName]
89 --> You are now talking on %channelname%
90
91 [Rename]
92 --- %nick%daft is now known as %nick2%
93
94 [Topic Change]
95 --- %nick% has changed the topic to: %text%
96
97 [Skip]
98 // If there is a way to use words as operator status then you have to remove the
99 // correct lines from the list below
100 --- Topic for %channelname% set by %nick% at %text%
101 --- %nick% sets ban on %text%
102 --- Disconnected %text%
103 -%nick%- %text%
104 //--- %text% gives channel operator status to %nick%
105 >%nick%< %text%
106 --- You are now known as %nick%
107 //--- %text% gives voice to %nick%
108
109 [Month names]
110 Jan
111 Feb
112 Mar
113 Apr
114 May
115 Jun
116 Jul
117 Aug
118 Sep
119 Oct
120 Nov
121 Dec