on *:TEXT:!av*:#:{ if ($nick !isop $chan) {.notice $nick You are not authorized to do that. | halt } if (!$2) { .notice $nick You need to tell me who to autovoice | HALT } elseif ($2) { .writeini av.ini avoice $address($2,2) autovoiced .notice $nick $2 Has been added to the $chan Autovoice list. } } on *:Join:#:{ if ($readini(av.ini,np,avoice,$address($nick,2)) == autovoiced) { .mode $chan +v $nick } }