All pastes #571996 Raw Edit

Someone

public text v1 · immutable
·published 2007-06-17 13:18 UTC
rendered paste body
on *:TEXT:!setpcw*:#:{
  if ($nick isop $chan || $nick ishop $chan) {
    set %pc $2
    set %vols $nick
    msg $chan 4New Pest Control World Type !Pcw to view it Set by %vols
  }
}
on *:TEXT:!Pcw*:#:{
  if ($nick !isvoice $chan || $nick !ishop $chan || $nick !isop $chan) {
  notice $nick 4the Pc world is %pc Set by %vols }
}
on *:TEXT:!av*:#:{
  if ($nick ishop $chan) || ($nick isop $chan) {
    if (%avs == false) { HALT }
    write avlist.txt $2
    mode $chan +v $2
    msg $chan $2 4Added To The $Chan Auto-Voice List, To Remove $2 Please Type !d-av $2 $+.
  } 
  else {
    notice $nick Hey!, You Must Be At Least A Half-Op To Auto-Voice Someone.
  }
}

on *:TEXT:!d-av*:#:{
  if ($nick ishop $chan) || ($nick isop $chan) {
    write -ds $+ $2 avlist.txt
    mode chan -v $2
    msg $chan $2 4Removed From The $chan Auto-Voice List.
  }
  else {
    notice $nick Hey!, You Must Be At Least A Half-Op To Remove Someones Auto-Voice.
  }
}

on *:TEXT:!Av-On:#:{
  if ($nick isop $chan) {
    msg $chan The Auto Voice Script Has Been Enabled.
    unset %avs
  } 
  else {
    notice $nick Hey!, You Must Be At Least A Half-Op To Turn This Script On/Off.
  }
}

on *:TEXT:!Av-Off:#:{
  if ($nick isop $chan) {
    msg $chan 4The Auto Voice Script Has Been Disabled.
    set %avs False
  } 
  else {
    notice $nick Hey!, You Must Be At Least A Half-Op To Turn This Script On/Off.
  }
}