Code: Select all
bind kick - "*" kick_remove
proc kick_remove {nick host hand chan target args} {
global botnick
if {$target == $botnick} {
putserv "PRIVMSG X :remuser $chan =$nick"
putlog "Removed $nick's username from X's $chan access list."
}
}
Code: Select all
set arg [charfilter $arg]
Code: Select all
set arg [lindex $arg 0]
Code: Select all
bind time - "00 * * * *" time_proc
proc time_proc {} {
foreach chan [channels] {
putserv "MODE $chan +b-b *!*@* *!*@*"
putlog "I just cleared all my channels' banlist"
}
}
Code: Select all
$::chan instead of $chan
Code: Select all
"?0 * * * *"
"?2 * * * *"
"?4 * * * *"
"?6 * * * *"
"?8 * * * *"