All pastes #298008 Raw Edit

Stuff

public text v1 · immutable
#298008 ·published 2006-12-31 13:59 UTC
rendered paste body
on *:TEXT:*!av-on*:#: { 
  { if (($nick isop $chan || $nick ishop $chan)) { 
      set %autovoice. $+ $chan on 
      msg $chan 7[ 14Auto Voice is now 7ON 14for 7 $chan 14] 
    } 
  } 
} 

on *:TEXT:*!av-off*:#: { 
  { if (($nick isop $chan || $nick ishop $chan)) { 
      set %autovoice. $+ $chan off 
      msg $chan 7[ 14Auto Voice is now 7OFF 14for 7 $chan 14] 
    } 
  } 
} 

on *:JOIN:#: { 
  if (%autovoice. [ $+ [ $chan ] ] == on) { 
  mode $chan +v $nick } 
  elseif (%autovoice. [ $+ [ $chan ] ] == off) { HALT } 
  else { halt } 
}