on *:TEXT:!av*:#: {
if ($nick isop $chan) || ($nick ishop $chan) || ($2 isin $chan) {
writeini voice.ini AutoVoice $address($2,2) true
msg $chan 2[7 AutoVoice 2] $address($2,2) (The current address of $2 $+ ) has been added to the AutoVoice list.
mode $chan +v $2
else ( msg $chan 2[7 AutoVoice 2] 4Error12 The Nick/Address you wish to AutoVoice must be present in $chan $+ . You almsot must be Halfop/OP in $chan $+ . }
}
if ($readini(voice.ini, AutoVoice, $address($nick,2)) == true) { mode $chan +V $nick }