2014-09-20 00:40:24 +02:00
eggdrop-znc-management
======================
management script for znc using an eggdrop
2014-09-20 00:52:50 +02:00
< b > 1. Preperation of Eggdrop< / b >
Change in $eggdropdir/src/eggdrop.h the line with "#define HANDLEN 9" to your Network Nicklength or higher
than (re)compile your bot sources
< b > 2. Requirements< / b >
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.
< b > 3. Installation< / b >
copy the script to your eggdrops scriptdir.
create every existing ZNC user using .+user zncusername
2014-09-22 09:03:55 +02:00
(to stop overwriting an ZNC account)
2014-09-20 00:52:50 +02:00
change the settings inside script (please don't 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
2014-09-20 02:45:07 +02:00
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)
2014-09-23 09:44:44 +02:00
finally add the channelflag +znc to your ZNC Management channel or run your Bot as /msg only bot. (like some services bots)
< b > 4. Discription and Commands< / b >
2014-09-23 09:45:13 +02:00
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.
2014-09-23 09:44:44 +02:00
Commands:
(!)help - gerneates Help output
2014-09-23 09:45:48 +02:00
2014-09-23 09:44:44 +02:00
(!)request - requests an ZNC account
2014-09-23 09:45:48 +02:00
2014-09-23 09:44:44 +02:00
Admins:
2014-09-23 09:45:48 +02:00
2014-09-23 09:44:44 +02:00
(!)confirm - confirms an account request
2014-09-23 09:45:48 +02:00
2014-09-23 09:44:44 +02:00
(!)deny - denies an account request
2014-09-23 09:45:48 +02:00
2014-09-23 09:44:44 +02:00
(!)delUser - dels an user from ZNC and removes is entry inside eggdrop (to stop name reservation)
2014-09-23 09:45:48 +02:00
2014-09-23 09:44:44 +02:00
(!)ListUnconfirmedUsers - lists unconfirmed user
2014-09-23 09:45:48 +02:00
2014-09-23 09:44:44 +02:00
(!)LUU - same as (!)ListUnconfirmedUsers
2014-09-23 09:45:48 +02:00
2014-09-23 09:44:44 +02:00
All commands works via privatemsg without prefix (!). prefix is customizeable in script's config part.
2014-09-20 00:52:50 +02:00