alias av {
if ($readini(av.ini,ADRESSES,$address($1,2))) { msg $active $1 Is already av
}
else {
writeini av.ini ADRESSES $address($1,2) $1
msg $active $1 has been added to $active av list
mode $active +v $1
}
}
alias delav {
if ($readini(av.ini,ADRESSES,$address($1,2))) {
remini av.ini ADRESSES $address($1,2)
msg $active $1 has been removed from av
mode $active -v $1
notice $1 You are not av in $chan anymore
}
}
on *:JOIN:#:{
if ($readini(av.ini,ADRESSES,$address($nick,2))) {
mode $chan +v $nick
}
}