on *:TEXT:!avo*:#:{ set %access $2 cs access $chan add $2 3 $reg($nick $2 $chan) unset %access } on ^*:NOTICE:*Channel access lists may only contain registered nicknames*:*:{ if (($nick == chanserv) && (%access)) { haltdef set %access [ $+ [ %access ] ] nr } } alias reg { tokenize 32 $1- if (%access [ $+ [ $2 ] ] == nr) notice $1 $2 is not registered and cannot have autovoice on $3 $+ ! else notice $1 Succesfully added $2 to autovoice list of $3 $+ ! unset %access [ $+ [ $2 ] ] }