This eggdrop tcl script uses a mySQL backend to track channel traffic.
Commands supported:
!seen  {nick}   - looks up the last record for a nickname
!quit  {nick}   - fetches the last part/quit/split, nick optional
!spoke {nick}   - fetches the last said/actn/topc, nick optional
!topic {nick}   - fetches the last topc, nick optional
!actn  {nick}   - fetches the last actn, nick optional
!seenversion    - version information
!seenhelp       - this help text
Database records are added for each of these irc events:
part, join, sign, kick, nick, splt, rejn, actn, topc
Edit the seenster.1.0.tcl file and set the few options near the top of the file. Use this bot command to enable/disable seenster on individual channels .chanset #channel [+/-]seenster Create the database and table: CREATE DATABASE `seenster` DEFAULT CHARACTER SET ascii COLLATE ascii_general_ci; USE seenster; CREATE TABLE `seen` ( `id` int(11) NOT NULL auto_increment, `nick` varchar(16) NOT NULL default '', `host` varchar(254) NOT NULL default '', `ts` varchar(10) NOT NULL default '', `channel` varchar(60) NOT NULL default '', `action` varchar(16) NOT NULL default '', `text` varchar(130) default NULL, PRIMARY KEY (`id`), KEY `nick` (`nick`), KEY `ts` (`ts`), KEY `channel` (`channel`) ) ENGINE=MyISAM DEFAULT CHARSET=ascii AUTO_INCREMENT=0;
seenster-20050527.tgz
First public release
Created 27 May 2005
seenster@nro.ca
http://www.seanster.com/seenster/
//End of File