IRC operator kill tracker in stats page

General talk about EFnet

Moderators: Website/Forum Admins, EFnet/General Moderators

Justasic
Posts: 1
Joined: Wed Dec 08, 2010 3:27 am

IRC operator kill tracker in stats page

Postby Justasic » Wed Dec 08, 2010 3:41 am

Well when I went to the stats page on the EFnet website I saw the IRC kill tracker, and after doing some coding and searching the ends of the internet I had no luck finding something similar. I really don't feel like making a full program, so I would like to ask how it was done or if there is any source code of an older version.

Thanks,
Justasic
User avatar
dubkat
Posts: 40
Joined: Fri Sep 19, 2003 4:59 am
Location: Colorado, USA
Contact:

Re: IRC operator kill tracker in stats page

Postby dubkat » Fri Dec 10, 2010 5:11 am

As far as I am aware, all the stats code for the efnet.org site is private. However, it's not hard to code your own bot to track the same information. Check out something like this..


You could write your own bot in minutes using that.

Good Luck.
Dan
[A] efnet.port80.se
[O] efnet.portlane.se, irc.nordunet.se
[CHANFIX] Authentication successful. Welcome, dubkat.
ircd-ratbox & dronemon developer
User avatar
munky
Site Admin
Posts: 826
Joined: Wed Jul 02, 2003 4:54 pm
Location: Phoenix AZ
Contact:

Re: IRC operator kill tracker in stats page

Postby munky » Fri Dec 10, 2010 5:23 pm

the stats page is fed by a bot driven by POE::Component::IRC

in irc_notice, just look for $line =~ /Received KILL message for (\S{1,}). From (\S{1,}) Path: .*\((.*)\)/
then
my $opernick = $2;
my $killnick = $1;
my $reason = $3;
In God we trust,
Everyone else must have an X.509 certificate.

Return to “General”

Who is online

Users browsing this forum: No registered users and 2 guests