All pastes #434643 Raw Edit

Untitled

public text v1 · immutable
·published 2007-04-11 14:42 UTC
rendered paste body
on *:TEXT:*!autovoice on*:#: { 
  { if (($nick isop $chan || $nick ishop $chan)) { 
      set %autovoice. $+ $chan on 
      msg $chan [ 12Auto Voice is now 4ON4 12for $chan ] 
    } 
  } 
} 

on *:TEXT:*!autovoice off*:#: { 
  { if (($nick isop $chan || $nick ishop $chan)) { 
      set %autovoice. $+ $chan off 
      msg $chan 12[ Auto Voice is now12 4OFF4 12for $chan ] 
    } 
  } 
} 

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