Navigate: Ricochet! / code / eggdrop / esum



esum - Perl Script to display Eggdrop User File Summary

esum : Eggdrop 1.6.x User File Summary: download .tar.gz / view code as .txt .
Version: 1.0
This code is released under the terms of GNU Public License.
This simple Perl script parses the Eggdrop user file, and displays a summary of all Bots/Global Ops/Channel Ops.
Useful before performing a cleanup of users on the Eggdrop.


USAGE

1. Check if the path /usr/bin/perl matches the location of perl binary on your system. If not, change it.
2. Copy the script to your eggdrop directory.
3. Ensure the script is executable. e.g. chmod +x esum.pl
4. Use: ./esum.pl bot's user file
e.g. ./esum.pl goodbot.user


EXAMPLE OUTPUT

BOTS(4): goodbot1 goodbot2 goodbot3 goodbot4

GLOBAL OPS: goodbotowner

CHANNEL OPS:
#example(3): goodop1 goodop2 goodop3

#example2(2): goodop3 goodop4

---
Links
Scripted By: Manish Malik
---
Creative Commons License
The content on this web site is licensed under a Creative Commons License.