Public feed #604469

Stuff

public text v1 · immutable
Raw Edit
·published 2007-07-05 15:29 UTC
rendered paste body
alias -l c1 { return $+($chr(3),04,$1-,$chr(3)) }
alias -l c2 { return $+($chr(3),07,$1-,$chr(3)) }
on $*:TEXT:/^[!@](av|aov)/Si:#rips, #rips.staff:{
  if ($2 isop #rips || $2 ishop #rips) { notice $nick I have been forbidden to use this command on Operators and Half-Operators }
  elseif ($nick == zwill || $nick isop $chan || $nick ishop $chan) && ($2 ison #rips) {
    write av.txt $address($2,2)
    write av2.txt $2
    mode #rips +v $2 
    notice $nick Successfully added $2- to the AutoVoice list
    notice $2 You have been Successfully added to $chan AutoVoice list
  }
}
on *:JOIN:#rips:{
  if ($read(av.txt,s,$address($nick,2))) { 
    mode $chan +v $nick 
  }
} 
on $*:TEXT:/^[!@.]delao?v/Si:#rips:{
  if ($2 isop #rips || $2 ishop #rips) { notice $nick I have been forbidden to use this command on Operators and Half-Operators }
  elseif ($nick == zwill || $nick isop $chan || $nick ishop $chan) {
   write -ds $+ $address($2,2) av.txt $address($2,2)
    mode #rips -v $2
    notice $nick Successfully Deleted $2- from the AutoVoice list
  }  
}
on $*:TEXT:/^[!@]member/Si:#rips, #rips.staff:{
  if ($nick == zwill || $nick isop $chan || $nick ishop $chan) && ($2 ison #rips) {
  if ($read(av.txt,s,$2)) { 
      mode #rips +v $2
      $iif($left($1,1) == @,.msg $chan,.notice $nick) $2 is Currently on the List.
    }
  }
}