All pastes #587849 Raw Edit

Unnamed

public text v1 · immutable
#587849 ·published 2007-06-25 03:55 UTC
rendered paste body
alias av { 
    if ($1 ison $chan) { mode $chan +v $1 }    
    writeini -n av.ini autovoice $address($1,2) $nick 
    msg $active $1 has been added to the autovoice list. 
  } 
} 

alias delav {
    if ($1 ison $chan) { mode $chan -v $1 } 
    remini av.ini autovoice $address($1,2) 
    msg $active $1 has been removed from the autovoice list. 
  } 
} 

on *:JOIN:#:{ 
  if ($read(av.ini,autovoice,$address($nick,2))) { 
    mode $chan +v $nick 
  } 
}