All pastes #805252 Raw Edit

1

public text v1 · immutable
·published 2007-12-04 04:15 UTC
rendered paste body
ON $*:TEXT:/^[!@.]A(uto)?V(oice)? ?(On|Off)$/i:#:{ 
  if ($me == stupidbot) noop
  elseif (%dchan [ $+ [ $chan ] ] == yes) { halt }
  if ($nick isop $chan || $nick ishop $chan || $wildsite == $address($me,2)) { 
    $iif($right($1-,2) == On,Writeini,Remini) AV.ini $network $chan $iif($right($1-,2) == On,On) 
    notice $nick 12Auto-Voice For4 $chan 12Is Now4 $2 $+ 12!
  } 
  else { 
    notice $nick 12You must Be A7 Halfop (%) 12Or4 Op (@) 12To Use This Command!
  } 
} 
ON *:JOIN:#:{ 
  if ($readini(AV.ini,$network,$chan)) mode $chan +v $nick 
}