All pastes #954226 Raw Edit

Something

public text v1 · immutable
#954226 ·published 2008-03-23 19:35 UTC
rendered paste body
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"
      }
    }
  }
}