egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

common questions regarding eggdrop and bans! Need help.

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
botnet
Voice


Joined: 31 Jul 2010
Posts: 9

PostPosted: Sat Aug 07, 2010 10:15 am    Post subject: common questions regarding eggdrop and bans! Need help. Reply with quote

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
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sun Aug 08, 2010 7:32 pm    Post subject: Re: common questions regarding eggdrop and bans! Need help. Reply with quote

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:
 .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'. Smile

It takes only seconds, and is very easy to do.

Quote:

...
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. Smile
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.
Back to top
View user's profile Send private message
botnet
Voice


Joined: 31 Jul 2010
Posts: 9

PostPosted: Wed Aug 11, 2010 7:46 pm    Post subject: Re: common questions regarding eggdrop and bans! Need help. Reply with quote

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
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Wed Aug 11, 2010 8:31 pm    Post subject: Re: common questions regarding eggdrop and bans! Need help. Reply with quote

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.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
botnet
Voice


Joined: 31 Jul 2010
Posts: 9

PostPosted: Wed Aug 11, 2010 9:02 pm    Post subject: Re: common questions regarding eggdrop and bans! Need help. Reply with quote

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 Smile

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber