All pastes #778695 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-11-17 20:57 UTC
rendered paste body
on *:TEXT:!av on:#: { 
  if ($nick isop $chan || $nick ishop $chan) { 
    /set %av. [ $+ [ $chan ] ] on 
    /msg $chan 2,1[12»»2]3 AutoVoice has ben set on for $chan 2[12««2] 
  } 
  else { 
    /notice $nick U are no operator or half-operator in $chan 
  } 
} 
on *:JOIN:#: { 
  if (%av. [ $+ [ $chan ] ] == on) { 
    /mode $chan +v $nick 
  } 
  elseif (%av. [ $+ [ $chan ] ] == off) { HALT } 
} 
on *:TEXT:!av off:#: { 
  if ($nick isop $chan || $nick ishop $chan) { 
    /set %av. [ $+ [ $chan ] ] off 
    /msg $chan 2,1[12»»2]3 AutoVoice has ben set off for $chan 2[12««2] 
  } 
  else { 
    /notice $nick U are no operator or half-operator in $chan 
  } 
} 
alias avon { 
  /set %av. [ $+ [ $chan ] ] on 
  /echo -e Autovoice setten on for $chan 
} 
alias avoff { 
  /set %av. [ $+ [ $chan ] ] off 
  /echo -e Autovoice setten off for $chan 
}