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.

Banning Time

Old posts that have not been replied to for several years.
Locked
User avatar
WeiJie
Halfop
Posts: 73
Joined: Thu May 20, 2004 9:30 pm
Location: Singapore

Banning Time

Post by WeiJie »

Mmm... How should I set the banning time (channel ban) of my bot to endlessly till the OPs remove it?
WeiJie
Admin of IntelFusion
Http://dj-online.org
#Sparks@Boatquay @ mIRC Galaxynet
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Via DCC

Code: Select all

.chanset #chan -dynamicbans
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
WeiJie
Halfop
Posts: 73
Joined: Thu May 20, 2004 9:30 pm
Location: Singapore

Post by WeiJie »

Mmm... Does...

Code: Select all

.chanset #chan ban-time
helps too?
Alchera wrote:Via DCC

Code: Select all

.chanset #chan -dynamicbans
WeiJie
Admin of IntelFusion
Http://dj-online.org
#Sparks@Boatquay @ mIRC Galaxynet
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

It does :)
# dynamicbans
# Only activate bans on the channel when necessary? This keeps
# the channel's ban list from getting excessively long. The bot
# still remembers every ban, but it only activates a ban on the
# channel when it sees someone join who matches that ban.
#
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
WeiJie
Halfop
Posts: 73
Joined: Thu May 20, 2004 9:30 pm
Location: Singapore

Post by WeiJie »

But if I unset the dynamicbans, when the OP (@) unban some hostmask or nick, the bot won't ban the hostmask again if the user rejoin the channel back... Right?

Etc...
If a op unbanned the hostmask *!*egghelp@*.egghelp.org...
* Op set mode -b *!*egghelp@*.egghelp.org
-
* Egghelp (egghelp@egg.egghelp.org) joined the #
...

Will the bot ban and kick out the user?
Or it will leave it?
WeiJie
Admin of IntelFusion
Http://dj-online.org
#Sparks@Boatquay @ mIRC Galaxynet
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

+dynamicbans:
It will ban a user. When a user's IP is in the bots banlist and the user joins the channel that user will be kicked and banned. Suppose if an Op removes that ban from the channel (the ban is still in the bots internal banlist), then the bot will not enforce that ban (meaning the bot will not ban it upon an unban). But if the user joins the channel again (when he/she is unbanned) the that user will be again kicked out and banned by the bot.

It's like the person will be banned, as the IP is in the bots banlist. But if it is unbanned by any Op the bot will not ban it.

Also like ChanServ's akick. The person in ChanServ's akick list is kicked when he/she joins the channel. If the ban is removed by any Op on the channel ChanServ wont reban that ban on the channel. It will only kick/ban that person untill the person rejoins back in again. ;)


+enforcebans:
It will keep bans enforced on a channel. It will also kick all users in the channel matching that IP range. So suppose you ban an IP range and a user is affected. When that user is kicked and banned and some Op tries to unban that user, the bot will ban that IP again immeditely. It will enforce all bans in it's banlist to be kept active on the channel's banlist when ever it is unbanned. Plus it will kick all users in the channel matching the IP banned. (as I mentioned earlier!) :P

I hope this gives a better explanation! :mrgreen:
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
WeiJie
Halfop
Posts: 73
Joined: Thu May 20, 2004 9:30 pm
Location: Singapore

Post by WeiJie »

Mmm... I understand what you mean...

But now my bot unban the hostmask after few minutes when I've banned the hostmask even though I've setted the ban-time to 1800mins.

So I suppose the bot will unban the IP after 1800mins and not after FEW minutes...
WeiJie
Admin of IntelFusion
Http://dj-online.org
#Sparks@Boatquay @ mIRC Galaxynet
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

WeiJie wrote:Mmm... I understand what you mean...

But now my bot unban the hostmask after few minutes when I've banned the hostmask even though I've setted the ban-time to 1800mins.

So I suppose the bot will unban the IP after 1800mins and not after FEW minutes...
[#1] If you use a tcl script utilizing 'newchanban' or 'newban' then it will unban after the ban-time set in the .conf file. :wink:

[#2] If you use a tcl script like putserv "MODE $chan +b $banmask" and it doesn't have newchanban or newban, then you can put a timer to unban that banmask (-b) whenever you want! :mrgreen:
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
WeiJie
Halfop
Posts: 73
Joined: Thu May 20, 2004 9:30 pm
Location: Singapore

Post by WeiJie »

Mmm... What if the ban was setted by the OP and not the bot? It's the same?

*Op set mode +b *!*egghelp@*.egghelp.org

-
awyeah wrote:
WeiJie wrote:Mmm... I understand what you mean...

But now my bot unban the hostmask after few minutes when I've banned the hostmask even though I've setted the ban-time to 1800mins.

So I suppose the bot will unban the IP after 1800mins and not after FEW minutes...
[#1] If you use a tcl script utilizing 'newchanban' or 'newban' then it will unban after the ban-time set in the .conf file. :wink:

[#2] If you use a tcl script like putserv "MODE $chan +b $banmask" and it doesn't have newchanban or newban, then you can put a timer to unban that banmask (-b) whenever you want! :mrgreen:
WeiJie
Admin of IntelFusion
Http://dj-online.org
#Sparks@Boatquay @ mIRC Galaxynet
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

I don't understand what you are trying to say here. :-?
Newchanban, newban can only be set by the bot.

dynamicbans, enforcebans all are for the bot.
It doesn't have any concern with bans set by other ops or bans unbanned by other ops which arent set by the bot or aren't in the bots banlist. :roll:
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Let me try ....

The default setting for eggdrop ban time is 120 minutes when not set by "newchanban <channel> <ban> <creator> <comment> [lifetime] [options]"

If an Op sets a normal channel ban without using eggdrop the bot automatically removes that ban after 2 hours.

The default ban time (in minutes) can be altered in eggdrop.conf:

Code: Select all

set global-ban-time 120
I suggest you read tcl-commands.doc for a full explanation of "newchanban" which is found in ~doc. I also suggest you read eggdrop.conf (found in eggdrop tarball) for a full explanation of channel settings and their results.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Only........ :wink:

if {([people do -implementations $of $suggestions])} { puthighpriority "Life will be more easier!" }
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

hehe :mrgreen:
Elen sila lúmenn' omentielvo
Locked