Public feed #598997

Stuff

public text v1 · immutable
Raw Edit
·published 2007-07-01 19:04 UTC
rendered paste body
on *:TEXT:!av*:#: {
  if ($nick isop $chan || $nick ishop $chan) {
    cs access $chan add $2 3
    msg $chan $2 has been added to the auto voice in $chan
  mode $chan +v $2 }
  else {
    notice $2 You must be halfop or op to use this command.
  } 
  on *:text:!av on:#:{
    if ($nick isop #) || ($nick ishop #) {
      set %av. $+ $chan on
      /msg # 12Auto-voice command10 is now 12"on"10 for12 $chan
    }
  }
  on *:text:!av off:#:{
    if ($nick isop #) || ($nick ishop #) {
      set %av. $+ $chan off
      /msg # 12Auto-voice command10 is now 12"off"10 for12 $chan
    }
  }