+=========================================================+
! onis 0.3.3                             2002-03-29 21:20 !
! http://verplant.org/onis/                               !
! Florian Forster <flo@verplant.org>                      !
!                                                         !
! README                                                  !
+=========================================================+


Table of Contents
-----------------

1) Brief description
2) Setting it up
3) Using it
4) Nick tracing


===================================================


1.0) Brief description
======================

	"onis" is a small, dirty perl-script that generates html-files out of
your irc-logs that contain some statistic information about what's going on on
that channel. For a sample check http://huhu.octo-pus.de/onis/sample/


2.0) Setting it up
==================

	Just follow the example in 'config'. Please make sure to edit it!


3.0) Using it
=============

	So, you've done all those nasty decissions? Ok, now comes the cool part,
cause you'll see some results :) And it's really simple.
Just start onis like this:

 $ ./onis -o public_html/stats.html -t eggdrop logs/*

Here's a complete list of all command-line arguments available:

	-o <file>	Set's file onis writes it's output to.
	-w		Overwrites existing files without prompting.
	-c <channel>	Sets the channel's name.
	-t <type>	Sets the logfiles' type.
	-g <name>	Sets the generator. Defaults to your username.
	-v		Switches verbose mode on.

	Plase make sure to save a copy of your logfiles or set them to read-only
(chmod 0444 logfile) before running onis, since it might happen that it
overwrites your logfiles. 


4.0) Nick tracing
=================

	If a user changes his/her nick it should propably still count as one
person. The only safe way to follow the nicks is by looking at the hostmask that
can't be changed during a chat session. But if a user uses a dial-up connection
like AOL, he/she gets a different ip and subdomain everytime he/she logs on. But
since these subdomains usually follow very simple rules onis can try to
recognize users even when they log in again and have a different ip. All
information needed to provide that are the hostname of each user. 


4.1) Using Perlbot
------------------

	Since perlbot 1.4.2 (at least that's the release I noticed it) perlbot's
logfiles have improved big time. You will not need the dumb plugin I wrote way
back in the past when there was almost no logging.. So go out and update now :)


4.2) Using Eggdrop
------------------

	You don't have to install any plugins to use this feature with eggdrop.
Just make sure that you log that information by setting the logfile-mode at
least to "jkp" in your bot's configuration-file. It should look like this:
    logfile jkp #lamest "logs/lamest.log"


4.3) Using mIRC
---------------

	As long as you didn't edit your logfile-format you should be fine here.
However, I did find some old logfile in which the user's own lines didn't have
the time at the very begin of each line. If you enable debugging onis will
report every line it doesn't "understand" which should give you an idea if
important information is dropped or not.

4.4) Using Dancer
-----------------

	There is no way to find the user's own nick in dancer logfiles, so you
have to give it in the config file.

4.5) Using ircII
----------------

	The ircII plugin is written for output produced by the timestamp-
irc-script included in this package. Copy the "timestamp" file into your
home directory or some other appropriate directory and load it using
"/load timestamp".
