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.

common questions regarding eggdrop and bans! Need help.

General support and discussion of Eggdrop bots.
Post Reply
b
botnet
Voice
Posts: 9
Joined: Sat Jul 31, 2010 9:03 am

common questions regarding eggdrop and bans! Need help.

Post by botnet »

Hi,

First
i added ban to channel successfully using eggdrop but when i remove ban from the channel without removing it from Eggdrop ban list then eggdrop immediately adds ban again. here's channel log:
[16:08] * user1 sets mode: -b testuser!*@*
[16:08] * Eggdrop1 sets mode: +b testuser!*@*
[16:09] * user1 sets mode: -b testuser!*@*
[16:09] * Eggdrop1 sets mode: +b testuser!*@*

Can't i manually remove bans simply on channel without dealing with bot?

Second question:
My nick is user1 and I'm bot owner over 2 test Eggdrop bots. When i use in partyline .deop user1 #channel on 1 eggdrop the other bot ops me again! how to fix this?
Here's channel log:
[15:37] * Eggdrop1 sets mode: -o user1
[15:37] * Eggdrop2 sets mode: +o user1
[15:39] * Eggdrop1 sets mode: -o user1
[15:39] * Eggdrop2 sets mode: +o user1


Third question:
For a ban to take effect then it got to be sticky with .stick ban command in partyline and it will be added to the channel banlist. So when the user will try to join the channel he'll get this:
#channel unable to join channel (address is banned)
But I've seen a bot which once did this:
* Spammer was kicked by Bigbot ((Gamer) you got kicked by Gamer because i don't like you.. have a nice day!)
So the question is how to not have on channel any ban but let the spammer be kicked-banned after that he joins. Is there any tcl which can do the job? Such as special banlist for eggdrop without the need for bans to be added on channel but only in some list for eggdrop?

Thanks
Last edited by botnet on Wed Aug 11, 2010 5:38 pm, edited 2 times in total.
w
willyw
Revered One
Posts: 1203
Joined: Thu Jan 15, 2009 12:55 am

Re: common questions regarding eggdrop and bans! Need help.

Post by willyw »

botnet wrote:Hi,

First
i added ban to channel successfully using eggdrop but when i remove ban from the channel without removing it from Eggdrop ban list than eggdrop immediately adds ban again. here's channel log:
[16:08] * user1 sets mode: -b testuser!*@*
[16:08] * Eggdrop1 sets mode: +b testuser!*@*
[16:09] * user1 sets mode: -b testuser!*@*
[16:09] * Eggdrop1 sets mode: +b testuser!*@*

Can't i manually remove bans simply on channel without dealing with bot?
See:
http://www.egghelp.org/commands/channels.htm
and
http://www.egghelp.org/using.htm
and find the sections that mention "dynamicbans". ( and ban-time, too)
And/or do

Code: Select all

 .help chaninfo 
in the partyline.... it will produce a lot of help text, so scroll back until you find dynamicbans.

In short - if you set +dynamicbans on a channel, *then* you can remove the ban from the Chanserv ban list, and the bot will not immediately re-set it (unless it is a sticky ban, then it will re-set it).
The bot will retain the ban internally, and will re-set it, upon anyone joining the channel that matches the ban.

Can you remove it on the channel without 'dealing with the bot' ? That depends on what you want to accomplish.
But if you want the ban removed from within the bot, then you will have to 'deal with the bot'. :)

It takes only seconds, and is very easy to do.
...
Third question:
For a ban to take effect then it got to be sticky
with .stick ban command in partyline and it will be added to the channel banlist. So when the user will try to join the channel he'll get this:
#channel unable to join channel (address is banned)
But I've seen a bot which once did this:
* Spammer was kicked by Bigbot ((Gamer) you got kicked by Gamer because i don't like you.. have a nice day!)
So the question is how to not have on channel any ban but let the spammer be kicked-banned after that he joins. Is there any tcl which can do the job? Such as special banlist for eggdrop without the need for bans to be added on channel but only in some list for eggdrop?

Thanks
Yep. That sounds just like what +dynamicbans does. :)
Check out the command, with the links above. Then experiment with it, until you get a feel for how it works. See if you like it, and if it does just what you need.


I hope this helps.
b
botnet
Voice
Posts: 9
Joined: Sat Jul 31, 2010 9:03 am

Re: common questions regarding eggdrop and bans! Need help.

Post by botnet »

first i understand that when ban is sticky then there's no way ops can remove bans on channel. so for ops to be able to unban people banned by eggdrop then best option is to not make any ban sticky.
Regarding third question, solution to let the banned user be kick-banned after that he joins is through +dynamicbans with ban-time enabled. And ban-time should be at least 1 minute.
Thanks willyw for your hints and help.

There's still 2nd question left
Does anybody know the reason for conflict between bots?

user1 is at least +aflo in each bot userfile. But why's the conflict people?
botnet wrote:Second question:
My nick is user1 and I'm bot owner over 2 test Eggdrop bots. When i use in partyline .deop user1 #channel on 1 eggdrop the other bot ops me again! how to fix this?
Here's channel log:
[15:37] * Eggdrop1 sets mode: -o user1
[15:37] * Eggdrop2 sets mode: +o user1
[15:39] * Eggdrop1 sets mode: -o user1
[15:39] * Eggdrop2 sets mode: +o user1
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Re: common questions regarding eggdrop and bans! Need help.

Post by speechles »

botnet wrote:first i understand that when ban is sticky then there's no way ops can remove bans on channel. so for ops to be able to unban people banned by eggdrop then best option is to not make any ban sticky.
Wrong...
Any ban done in channel, by someone with +o is a rogue ban. That means it is set outside the mechanism of the bot. You set these types of modes yourself usually with /mode #chan +b nick!ident@host.here* or some variant. These types of bans will disappear and not get remembered at all.

Any ban done on the botnet, will last however long you put in your expiration. If you've put no expiry time, it will last forever. The mode will get removed in channel. That is to keep the ban list from getting too large, but the bot remembers the ban and will smite them once they rejoin.

Any ban also enhanced with +stick, will not be removed in channel as well as never forgotten. Doing too many of these will result in a full ban list eventually.


In answer to your botnet problem. ALL bots userfiles MUST know EVERY other bot. Meaning, the bot must have a user record for itself in it's own userfile, as well as including all other bots. If you think, well, on bot A I only need to add bot B C D E and on bot B, just A C D E. Well, you thought wrong. How can these bots possibly share that userfile. It's missing 1 of the bots. Once it's shared, its going to not know a bot. Starts deopping it, other bots op it. Cascading mode floods happens, etc.. Users opped from unknown bots are deopped, while other known bots reop them, you find you can't deop yourself. Crazy stuff happens.
b
botnet
Voice
Posts: 9
Joined: Sat Jul 31, 2010 9:03 am

Re: common questions regarding eggdrop and bans! Need help.

Post by botnet »

speechles wrote:...In answer to your botnet problem. ALL bots userfiles MUST know EVERY other bot....
Thanks speechles but i didn't yet make any botnet, botnet is just my username :)

so if there's no botnet, would it be possible for chan ops to deop eggdrop +o users?
botnet wrote:Second question:
My nick is user1 and I'm bot owner over 2 test Eggdrop bots. When i use in partyline .deop user1 #channel on 1 eggdrop the other bot ops me again! how to fix this?
Here's channel log:
[15:37] * Eggdrop1 sets mode: -o user1
[15:37] * Eggdrop2 sets mode: +o user1
[15:39] * Eggdrop1 sets mode: -o user1
[15:39] * Eggdrop2 sets mode: +o user1
Post Reply