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.
Blade2
Voice
Posts: 10 Joined: Sat Feb 07, 2004 11:11 pm
Post
by Blade2 » Tue Feb 10, 2004 5:21 pm
Hello, I have try script to write which global and channel bans delete, but somehow have I it do not get. Can someone help me? I found nothing useful also here in the forum
Code: Select all
bind pub o|m .unbanall proc_unbanall
proc_unbanall { nick uhost hand chan arg } {
foreach $chan [banlist $chan] {
killchanban $chan $banmask
killban $chan $banmask }
But Didn't work
P.s
My first Scripting Lines
CoMMy
Halfop
Posts: 99 Joined: Thu Jul 24, 2003 1:03 am
Location: Cyprus
Post
by CoMMy » Wed Feb 11, 2004 10:48 am
Tottaly wrong. This is the way it should be.
Code: Select all
bind pub o|m .unbanall proc_unbanall
proc_unbanall {nick host handle chan arg} {
foreach channel [channels] {
foreach ban [banlist $channel] {
killchanban $channel $ban }}
foreach bans [banlist] {
killban $bans }
ENJOY![/code]
(c) CoMMy (c)
Resistance is Futile!!
We Are The Borg!!
Blade2
Voice
Posts: 10 Joined: Sat Feb 07, 2004 11:11 pm
Post
by Blade2 » Wed Feb 11, 2004 1:31 pm
big thank