This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Ban everybody except the bot and certain users?

Old posts that have not been replied to for several years.
Locked
p
pryds

Post by pryds »

I'd like to set my eggdrop bot to ban everybody *!*@* except itself *!mybot@*.myisp.com and some other users (who are all registered with the bot if that changes anything).

I've tried this with
.+exempt *!mybot@*.myisp.com #mychannel

(of course theese are not the actual values I used -- I *did* use the right ones, this is not where the problem is)

and then
.+ban *!*@* #mychannel

(all done through the partyline) but the bot says "I'm not going to ban myself." even though I have explicitly added it to the exemption list first. This is the same if I narrow the ban to cover e.g. *!*@*.myisp.com

Is this a bug in eggdrop (I use version 1.6.6 on a RedHat Linux box) or am I doing something wrong? Or is this simply not possible? If it is, then how do I do it?

Thank you in advance.
B
BassTeQ

Post by BassTeQ »

Why would you want to ban everybody? I dont think the irc server will allow a ban mask of *!*@*
Why not just lock your channel if you want to keep people out?
p
pryds

Post by pryds »

Well, I think that's the easiest way to control who have access to the channel. I thought of using the +k option (key) of the channel but that creates some trouble when the bot wants to reenter if it has been out of the channel. There's no botnet or anything since it's a private IRC server. It is probably a setting, but I'd rather that my users don't have to remember a password.

Anyway, I have tried manually to set a *!*@* ban in the channel with /mode +b #channel *!*@* which is successful just until the bot unsets that ban right after I set it. So the IRC server accepts it, the bot just doesn't.

<font size=-1>[ This Message was edited by: pryds on 2002-01-23 03:02 ]</font>
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

I havn't looked into the code to see if there are any blocks on this, but my guess would be you have the channel set "-userbans" in eggdrop.
Locked