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 

Permanent Bans

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


Joined: 01 Nov 2007
Posts: 3

PostPosted: Thu Nov 01, 2007 1:56 pm    Post subject: Permanent Bans Reply with quote

Hi out there..

I installed Eggdrop at insiderz.de. We want to use the word-filter but Eggdrop deletes those bans after 120 minutes.

I added the ban with /mode +b ~T:block:*oneword*

I can't use stick to keep this ban, because it's not eggdrop's ban Wink

How can I set this ban with Eggdrop? When I'm trying this, Eggdrop understands my Bad-Try as part of a hostmask..

Any Ideas?
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Thu Nov 01, 2007 2:11 pm    Post subject: Reply with quote

You could always set the channel -dynamicbans to prevent your eggdrop from removing any bans.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Thu Nov 01, 2007 2:15 pm    Post subject: Reply with quote

I guess the ban-time is set to 120 min, If you set this setting to 0, the bot will never remove the bans.
Code:
.chanset #channel ban-time 0

Hello nml375
Does +/-dynamicbans apply also to the bans not made through the bot ?


Last edited by Zircon on Thu Nov 01, 2007 2:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Thu Nov 01, 2007 2:22 pm    Post subject: Reply with quote

dynamicbans would affect any ban added to the channel, regardless of source.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Thu Nov 01, 2007 2:22 pm    Post subject: Reply with quote

Yup bans put through the bot with .+ban
Bans not made through the bot like /mode #channel +b *!*@whatever
Back to top
View user's profile Send private message
LoB
Voice


Joined: 01 Nov 2007
Posts: 3

PostPosted: Thu Nov 01, 2007 2:27 pm    Post subject: Reply with quote

Hi..

Well, Ban-Time ist on 120 Minutes. But it's important, that some Bans are deleted after that time (except stick'ed).
Back to top
View user's profile Send private message
novaxxx
Voice


Joined: 01 Nov 2007
Posts: 4

PostPosted: Thu Nov 01, 2007 2:29 pm    Post subject: Reply with quote

hi,dunno if iīm right but you can test it Wink

# Set this setting to 1 if you want your bot to expire bans/exempts/invites set
# by other opped bots on the channel.
set force-expire 0

# The following settings are used as default values when you .+chan #chan or .tcl
# channel add #chan. Look in the section below for explanation of every option.

set global-flood-chan 30:3
set global-flood-deop 3:10
set global-flood-kick 3:10
set global-flood-join 5:60
set global-flood-ctcp 3:60
set global-flood-nick 30:3
set global-aop-delay 5:30
set global-idle-kick 0
set global-chanmode "nt"
set global-stopnethack-mode 0
set global-revenge-mode 0
set global-ban-time 0 for all #chanīs you make

# Add each static channel you want your bot to sit in using the following
# command. There are many different possible settings you can insert into
# this command, which are explained below.

channel add #lamest {
chanmode "+nt-likm"
idle-kick 0
stopnethack-mode 0
revenge-mode 0
ban-time 0

and
.chanset #channel ban-time 0
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Thu Nov 01, 2007 2:31 pm    Post subject: Reply with quote

If you do like your bot to clear old bans, you'll need to have the channel +dynamicbans, and add any "permanent" bans to your bot's banlist and stick 'em.

To stick the actual ban you posted, use something like this:
Code:
.+ban ~T:block:*oneword* #yourchannel
.stick ban ~T:block:*oneword* #yourchannel

I'm not familiar to these kind of bans, but I guess if someone says oneword, they'll get kick'd & banned by server? If so, such bans will be removed by your bot after 120mins unless you add them to your eggdrops internal banlist and stick 'em.

Edit:
Seems I forgot eggdrop for some odd reason expects any banmask to contain ! and @. Your best option at this point would be to write some script to manually re-add the ban when your eggie removes it, or possibly try to hide that ban from your bot completely (using raw bindings).
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Thu Nov 01, 2007 2:41 pm    Post subject: Reply with quote

U have to be careful if you want to keep all the bans active, coz if the channel banlist is limited, once it reach that limit, you cannot add new bans. I d suggest to you keep +dynamicbans, and keep ban-time different to 0, my ban-time is 1440, means 1 day. For your banned word, i recommend to you to use a bad words protection script. So you wont have to add manually all the banned words with .+ban .
Back to top
View user's profile Send private message
LoB
Voice


Joined: 01 Nov 2007
Posts: 3

PostPosted: Thu Nov 01, 2007 2:50 pm    Post subject: Reply with quote

Hi..

Those bans will not kick or ban any user. If one of those Bans are set, it's not possible anymore to send one of those words to the channel. The User geht's informed but nothing else will happen.

When I'm trying to use ".+ban ~T:blabla" following will happen:

<Bot> New ban: ~T:block:*oneword*!*@* (requested)

As you can see, Eggdrop understands it as part of a hostmask and the ban will not work. Due I set the ban "by hand" I can't stick that ban within Eggdrop.

Also it's not acceptable to reban some words again, because anyone in channel can see what words are banned.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Thu Nov 01, 2007 2:56 pm    Post subject: Reply with quote

Then, your only remaining option is to hide those bans from your eggdrop, using scripts with raw bindings.
_________________
NML_375, idling at #eggdrop@IrcNET
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