rendered paste bodyalias -l c1 { return $+($chr(3),04,$1-,$chr(3)) }
alias -l c2 { return $+($chr(3),07,$1-,$chr(3)) }
on $*:TEXT:/^[!@.]ao?v/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) {
writeini -n av.ini #rips $address($2,2) $address($2,2)
mode #rips +v $2
msg #rips $c1(Added) $c2( $+ $2 $+ ( $+ $address($2,2) $+ )) $c1(to Autovoice by) $c2($nick $+ .)
}
}
on *:JOIN:#rips:{
if ($readini(av.ini,-n,$chan,$address($nick,2))) { mode $chan +v $nick }
}
on $*:TEXT:/^[!@.]delao?v/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) && ($readini(av.ini,-n,#rips,$address($2,2))) {
remini -n av.ini #rips $address($2,2)
mode #rips -v $2
msg #rips $c1(Removed) $c2( $+ $2 $+ ( $+ $address($2,2) $+ )) $c1(to autovoice by) $c2( $nick $+ .)
}
}