set avchan "#moons"


bind join - * proc:join

proc proc:join {n u h c} {
global avchan botnick
 if {$n == $botnick} {
  return 0
 }
 if {[isop $n $avchan]} {
  return 0
 } else {
    pushmode $avchan +v $n
    return 0
   }
}
