This repository has been archived on 2022-09-23. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2016-01-19 02:55:13 +01:00
LICENSE Initial commit 2014-09-20 00:40:24 +02:00
README.md Update README.md 2014-09-23 09:45:48 +02:00
TODO.md Create TODO.md 2014-09-20 02:40:11 +02:00
znc.tcl fix network config 2016-01-19 02:55:13 +01:00

eggdrop-znc-management

management script for znc using an eggdrop

1. Preperation of Eggdrop

Change in $eggdropdir/src/eggdrop.h the line with “#define HANDLEN 9” to your Network Nicklength or higher than (re)compile your bot sources

2. Requirements

A eggdrop bot which is connected to your irc network via ZNC On ZNC the modules controlpanel and blockuser must be loaded installed and working sendmail on bothost

Your Eggdrop should not share his userlist with another eggdrop which is not administrating your (same) ZNC Server.

3. Installation

copy the script to your eggdrops scriptdir. create every existing ZNC user using .+user zncusername (to stop overwriting an ZNC account)

change the settings inside script (please dont modify to much sources. If you have feature requests, no problem, tell it to me)

load the script inside your eggdrop conf using source scripts/znc.tcl

To administrate your ZNC you have to set userflag +Y for all you ZNC users please set +Z. (so maybe you could share but not recommented)

finally add the channelflag +znc to your ZNC Management channel or run your Bot as /msg only bot. (like some services bots)

4. Discription and Commands

The znc.tcl adds an request and administration panel to your ZNC for an eggdrop. So your Users can request a ZNC Account and after a confirm by the ZNC Admins (marked with +Y) the bot will send an e-mail to the User with Login, password and serverurl.

Commands: (!)help - gerneates Help output

(!)request - requests an ZNC account

Admins:

(!)confirm - confirms an account request

(!)deny - denies an account request

(!)delUser - dels an user from ZNC and removes is entry inside eggdrop (to stop name reservation)

(!)ListUnconfirmedUsers - lists unconfirmed user

(!)LUU - same as (!)ListUnconfirmedUsers

All commands works via privatemsg without prefix (!). prefix is customizeable in scripts config part.