This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

IRC Logger v1.0

Support & discussion of released scripts, and announcements of new releases.
Post Reply
User avatar
CrazyCat
Revered One
Posts: 1305
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

IRC Logger v1.0

Post by CrazyCat »

IRC Logger is a tool for logging channel activity in a database for use (for example) on a website, for statistics, random phrases.

It was originally intended as a Chanrelay module, but works perfectly on its own.

Prerequisites
  • mysqltcl package
  • package hooks if you wish to use it as a module of another script
Features
- Can be used as a module (via hooks)
- Ability to log eggdrop activity itself, channel by channel

Download

A few more or less technical details:
Firstly, this script can be adapted to work with sqlite3, it was originally designed to do so, but this poses a problem if several eggdrops use the same database, sqlite being write-exclusive.

When this IRCv3 feature is available, this script uses account-notify to register the user's NickServ account rather than their nickname at the time. In this way, a user registered and identified on the services will always be referred to by his or her main nickname in the database.

Concerning hooks, and therefore the modular part, procedures must be called by hook call logger <type> <nick> <chan> <text> except in the case of join, which takes only <nick> and <chan> as arguments.
Post Reply