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 question

Old posts that have not been replied to for several years.
Locked
R
Rod95

Post by Rod95 »

I have my bot removing the bans in 120 min by default. If other user remove the ban before that time and the person unbaned tries to enter the channel the bot will ban him again. How can I make the bot recognize the unban of the other opearator and stay quiet?
Thanks in advance
User avatar
DrTongue
Op
Posts: 115
Joined: Sat Jan 26, 2002 8:00 pm
Location: Orlando, Florida
Contact:

Post by DrTongue »

How are the bans being set? Are they being set 'in' channel by users, or are they being set 'in' the bot? If the ban is set in the bot then if removed by a user in channel, the ban will still be there.(as far as I know) If it is set 'in' the channel than a user should be able to remove that ban in channel and it be gone for good.
R
Rod95

Post by Rod95 »

some bans are being set by the bot.
I was refering about that bans, is not possible to be removed from other users and automatically being removed from the internal ban list?
User avatar
DrTongue
Op
Posts: 115
Joined: Sat Jan 26, 2002 8:00 pm
Location: Orlando, Florida
Contact:

Post by DrTongue »

Well, again if it's set IN the bot it has to be removed from IN the bot. If it's set IN channel then it can be removed IN channel by any user. I am pretty sure that is correct but I am still learning about eggdrops. Maybe one of the experts here can confirm or deny what I have said.
E
EcoSpliff

Post by EcoSpliff »

Check the setting of DYNAMICBANS in the bot settings. This means the ban will not become active until the user comes into the channel - meaning your bot wont care if the ban is removed.
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

On 2002-02-10 08:53, Rod95 wrote:
some bans are being set by the bot.
I was refering about that bans, is not possible to be removed from other users and automatically being removed from the internal ban list?
Rod95, it is possible to write a script which achieves what you are looking for. Such script makes sense. There are some situations, however, which must be dealt with carefully.

Eggdrop distinguishes between global bans and channel bans.

1. which users are allowed to remove the (internal) bot channel bans? Anyone having @ on the channel? Or must the person be known to the bot and have a global flag or channel flag on the bot?

2. which users are allowed to remove the (internal) bot global bans? Only people known to the bot with certain global flags? Or anyone having @ in one of the channels?

3. Consider the case of a global ban nick!user@host AND simultaneously a channel ban with the same nick!user@host. Upon an unban, which one should be removed? (or both?)

<font size=-1>[ This Message was edited by: egghead on 2002-02-23 16:43 ]</font>
R
Rod95

Post by Rod95 »

Well,
I think that both internal bot channel/global bans could only be removed by known person and at least +m flag.
And about considering the case on point 3, the ban should be removed on both.
This is my point of view. Thank you
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

On 2002-02-24 12:23, Rod95 wrote:
Well,
I think that both internal bot channel/global bans could only be removed by known person and at least +m flag.
And about considering the case on point 3, the ban should be removed on both.
UnbanParrot version 2 survived prelimenary tests and is now free.
You may want to give it a try. I'm not sure what noise it will make under practical channel conditions.

http://www.geocities.com/eggheadtcl/unbanparrot.tcl.txt

It was tested both on a newer and an older than 1.3.23 eggdrop version.
Locked