can someone help thx in advance
Code: Select all
Joins: mib_ufoo9l (59d2ec67@Test-B3B25F2D.mibbit.com)
Code: Select all
set chanban "#test1 #test2"
set checkdomain {"*.mibbit.com"}
set chanmode "E"
set timemode "60"
bind join - * banmibbit
proc banmibbit {nick host hand chan} {
global chanban checkdomain chanmode timemode
if {![chan gets $chanban] || [isbotnick $nick]} { return 0 }
foreach checkdomain $chanban {
if {[string match $checkdomain $chanban]} { return }
foreach chan $chanban {
putquick "samode $chanban +$chanmode"
} else {
utimer 60 [list $timemode]
putquick "samode $chanban -$chanmode"
}
}
}