on *:TEXT:!av*:#thepc: {
if ($nick isop $chan || ($nick ishop $chan) {
if ($$2 ison $chan) {
writeini autovoice.ini users $address($$2,2)
mode $chan +v $$2
.notice $nick $+ $$2 has been added to the AVOICE list.
}
else {
.notice $nick $$2 must be in the channel to be added to the AVOICE list!
}
}
}
on *:TEXT:!voicecheck *:#thepc: {
if ($nick isop $chan) || ($nick ishop $chan) {
if ($readini(autovoice.ini,users,$address($$2,2)) == $null) { .notice $nick $$2 not found on my AVOICE list. | halt }
else {
.notice $nick $$2 found on my AVOICE list.
} } }