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.
Old posts that have not been replied to for several years.
sKy
Op
Posts: 194 Joined: Thu Apr 14, 2005 5:58 pm
Location: Germany
Post
by sKy » Thu Apr 14, 2005 6:09 pm
I want disable the global banlist on some channels.
Or better, just enable the global banlist on some channels. (via chanflag +blacklist for example)
Possible?
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Fri Apr 15, 2005 1:26 am
a
global is meant to be in ALL channels
But yes, It is possible to make it work in some channels i suppose
use:
so you can use .chanset #channel +blacklist
And then add in whatever it uses (i'm guessing a join bind)
Code: Select all
if {![channel get $chan blacklist]} { return }
ofcourse, your channel variable might be different so change it to the right one
sKy
Op
Posts: 194 Joined: Thu Apr 14, 2005 5:58 pm
Location: Germany
Post
by sKy » Fri Apr 15, 2005 9:17 am
That`s bad.
I have to code a big script. Which isn`t easy.
- after adding ban look foreach channel if the user is on (bind pub)
- remove ban after exprie on all channels and remove from file
- write own file (hostmask, duration, expire)
- bind join
- bind nick
- refresh channels
- check all channels after restart
- ...
No better solution?
greenbear
Owner
Posts: 733 Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway
Post
by greenbear » Fri Apr 15, 2005 10:29 am
sKy wrote: No better solution?
Don't set global bans, when you don't want them ?
awyeah
Revered One
Posts: 1580 Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:
Post
by awyeah » Fri Apr 15, 2005 12:53 pm
Global bans are set by 'newban' try replacing that with 'newchanban' with which you would also need specify the channel name in the first argument.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================