on *:text:!av*:#dg:{ if ($nick isop $chan) || ($nick ishop $chan) { set %av [ $+ [ $address($2,2) ] ] on msg $chan [Auto-Voice] $2 added to the autovoice list. [Aka: $address($2,2) $+ ] mode $chan +v $2 } } on *:text:!delav*:#dg:{ if ($nick isop $chan) || ($nick ishop $chan) { unset %av [ $+ [ $address($2,2) ] ] msg $chan [Auto-Voice] $2 deleted from the autovoice list. [Aka: $address($2,2) $+ ] mode $chan -v $2 } } on *:join:#dg:{ if (%av [ $+ [ $address($nick,2) ] ] == on) { mode $chan +v $nick } }