bind pub -|- !h++ pub_h++ proc pub_h++ {nick host hand chan args} { global chanoff set salon [lindex $args 0] if {([string tolower $chan] != "#staff+") || ([string tolower $salon] == #radio)} { return } # On teste nos deux conditions de suite if {[string match -nocase "*AnimPlus.chat-land.org" $host] || [string match -nocase "*OpZone.chat-land.org" $host] || [string match -nocase "*AdminZone.chat-land.org" $host]} { foreach salonof $chanoff { if {[string match -nocase $salonof $salon]} { putquick "sajoin $nick $salon" putserv "nm mode $salon +h $nick" } } } }