All pastes #422636 Raw Edit

Unnamed

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

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

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