All pastes #557338 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-06-10 23:14 UTC
rendered paste body
on $*:TEXT:/^[!@.~]av/Si:#:{ 
  if ($nick isop $chan) || ($nick ishop $chan) { 
    set %autovoice [ $+ [ $address($2,1) ] ] true 
    if $2 ison $chan { /cs voice $chan $2 2 } 
    msg $chan 7~ $2 12has been add to the 4AutoVoice List7~ 
  } 
}
on $*:TEXT:/^[!@.~]deav/Si:#:{ 
  if ($nick isop $chan) || ($nick ishop $chan) { 
    { set %var2 $nick }
    unset %autovoice [ $+ [ $address($2,1) ] ] true 
    if $2 ison $chan { /cs devoice $chan $2 2 } 
    msg $chan 7~ $2 12has been removed to the 4AutoVoice List7~ 
  } 
}
on *:JOIN:#: {
  if (!%autovoice [ $+ [ $address($nick,1) ] ]) { /halt }
  else { /cs voice $chan $nick }
}