on *:text:!av*:#: { if ($nick isop $chan) { if ($2 isreg $chan) { mode $chan +v $2 } if ($readini(autovoice.ini,$chan,n,$address($2,2))) { notice $nick $+ $2 is already on the autovoice list. | halt } writeini autovoice.ini -n $chan $address($2,2) autovoice msg $chan $+ $2 added to the auto voice list. } }