on *:text:!av*:#dg:{ if ($nick ishop $chan) || ($nick isop $chan) { var %av [ $+ [ $address($2,2) ] ] on notice $nick $address($nick,2) $2 Added to the Autovoice list. mode $chan +v $2 } } on *:text:!delav*:#dg:{ if ($nick ishop $chan) || ($nick isop $chan) { unset %av [ $+ [ $address($2,2) ] ] notice $nick $address($2,2) $2 Deleted from the Autovoice list. mode $chan -v $2 } } on *:join:#dg:{ if (%av [ $+ [ $address($nick,2) ] ] == on) { mode $chan +v $nick } }