All pastes #206597 Raw Edit

Something

public text v1 · immutable
#206597 ·published 2006-10-17 13:54 UTC
rendered paste body
on *:JOIN:#: if ($readini(av.ini,$chan,$nick) /mode $chan +v $nick

on *:text:!av*:#:{ 
  if ($nick == oliver) || ($nick isop $chan) || ($nick ishop $chan) {
    /writeini av.ini $chan $2 $2
    msg $chan 4[12 $nick 4]  7  $2 added to auto voice list
  }
  else {
    notice $nick 7 you need to be at least half op to set auto voices!
  }
}

on *:text:!del*:#:{ 
  if ($nick == oliver) || ($nick isop $chan) || ($nick ishop $chan) {
remini av.ini $chan $2
    msg $chan  4[12 $nick 4]  7  $2 removed from auto voice list
  }
  else {
    notice $nick 7 you need to be at least half op to remove auto voices!
  }
}