This file contains a list of the different logfile formats which pisg
supports. It also includes a sample line for these formats.

If you don’t have access to any of the clients/bots or you use some other
IRC client/bot which isn’t supported, then it’s fairly easy to add support
for a new IRC log format if you have some Perl knowledge, take a look at
modules/Pisg/Parser/Format/Template.pm. If you don’t have any Perl
knowledge, then mail a sample logfile to the mailinglist (preferred as a
link to the logfile)

1. mIRC6

Version 6.x of mIRC

Same as mIRC except it uses a retarded logging format that makes modes
indeciperable from actions (which is a nightmare to parse)

DON’T USE IT if you can avoid it, it doesn’t do very well at understanding
modes (see the "mIRC6hack" format)

In order to use this, format must be set to mIRC6.

Remember to timestamp your logs, or it wont work, the timestamp must be
in [HH:MM] or [HH:MM:SS] format. (logging options → timestamp logs)

2. mIRC6hack

Version 6.x of mIRC using a logging script to produce a saner output

Same as mIRC6 except it uses ** for actions

In order to use this, format must be set to mIRC6hack, and the following
be added to mIRC’s remote script section (Alt-R → Remote): (thanks to
virtuall and coaster)

Remember to timestamp your logs, or it wont work, the timestamp must be
in [HH:MM] or [HH:MM:SS] format.

In order to use this, format must be set to mIRC.

Example:

[23:44] <Christina> Hello world

4. XChat

A client for Linux (www.xchat.org)

In order to use this, format must be set to xchat.

Both the old logformat, and the new logformat from 1.8.7 and above is
supported.

Example of old logformat:

18:01:43 <Ben> Hello world

Example of new logformat:

jan 13 04:39:42 <Ben> Hello World

XChat has changed its logformat again in early 2005. The "brand new" format
is broken in the same way as the mIRC6 format in that it is now impossible to
tell actions from real events. Additionally, the format of the lines in the
log changed. It is possible to revert to the previous format (the one that
pisg understands) by using the old text theme:
http://xchat.org/files/themes/blacktheme.zip

5. Eggdrop

A cool and advanced IRC bot for Linux (www.eggheads.org)

In order to use this, format must be set to eggdrop.

You might want to change the logfile-suffix in order for pisg to parse the
files in the correct order when using logdir:

set logfile-suffix ".%Y%m%d" instead of the standard format
set logfile-suffix ".%d%b%Y".

Example:

[00:02] <Jenny> Hello world

6. Grufti

A bot which I’m not really familiar with (www.grufti.com)

The author has actually made something like pisg called gruftistats,
but someone mailed me and told me that it hadn’t been maintained for
over a year, and it had some problems..

28. moobot

Turn on logging by adding an entry to the data table with type = logtype
and data = file or date. Add another entry with type = logfile and
data = the name of the file if type == file or a string to be passed to
strftime if type == date.

The format name is "moobot".

All nicks are logged with their hostmasks, with the exception of those
from the bot itself. (This may change in the future to have the bot’s
hostmask, too.)

29. ircII

You need to add a few on triggers to your .ircrc:
on #timer 50 "*0" echo $0
on #timer 50 "*5" echo $0
to mark the time. They can be adjusted to taste (the above lines mark every
5 minutes), with the main effect being the topic change times will only
accurate to how often the time is marked.

The config option "Maintainer" needs to be set to the maintainer’s nick

37. Vision

The messages Vision displays for joins/parts/topic changes etc, is fully
user configurable, this parses the default messages. If you have changed
them in the preferences you have to edit the parser to reflect the changes.