All pastes #478420 Raw Edit

Someone

public text v1 · immutable
·published 2007-05-09 04:26 UTC
rendered paste body
on *:text:-del *:#:{
  if ($nick isop $chan) || ($nick ishop $chan) {
    remini inifile.ini $($+(No-Voice,$active),2) $nick Yes
    notice $nick $2 has been removed from the non auto voice list.
  }
}
on *:text:-add *:#:{
  if ($nick isop $chan) || ($nick ishop $chan) {
    writeini inifile.ini $($+(No-Voice,$active),2) $nick Yes
    notice $nick $2 has been added to a no voice on join list.
  }
}
ON !*:JOIN:#:{ 
  if ($($+(%,voice,$chan),2) == enabled) && (unknown* !iswm $nick)  { 
    on *:text:-add *:#:{
      if ($nick isop $chan) || ($nick ishop $chan) {
        if $readini(inifile.ini,$($+(No-Voice,$chan),2),nick == Yes) { halt }
        notice $nick $2 has been added to a no voice on join list.
      }
    }