All pastes #1187114 Raw Edit

Fearful- Allvoice

public text v1 · immutable
#1187114 ·published 2008-08-28 05:24 UTC
rendered paste body
setudef flag allvoice

bind join - * *join:allvoice

proc *join:allvoice {nick uhost hand chan} {
  if {[isbotnick $nick] || ![botisop $chan]} {
    return 0
  }
  foreach setting [channel info $chan] {
    if {[regexp -- {^[\+-]} $setting]} {
      if {![string compare "+allvoice" $setting]} {
        pushmode $chan +v $nick
      }
    }
  }
}