on *:text:!addo*:#:{ if ($nick == Manic) {
if ($read(oplist $+ $chan $+ .txt,w,$2)) { notice $nick Error - $2 is already in the file document "Op List" for $chan | halt
}
else {
write oplist $+ $chan $+ .txt $2
notice $nick You have successfully added $2 to the "Op List".
} } }
on *:text:!addho*:#:{ if ($nick == Manic) {
if ($read(hoplist.txt,w,$2)) { notice $nick Error - $2 is already in the file document "Hop List" for $chan | halt
}
else {
write hoplist $+ $chan $+ .txt $2
notice $nick You have successfully added %add.hop to the "Hop List".
} } }
on *:text:!addv*:#:{ if ($nick == Manic) {
if ($read(voicelist.txt,w,$2)) { notice $nick Error - $2 is already in the file document "Voice List" for $chan | halt
}
else {
write voicelist $+ $chan $+ .txt $2
notice $nick You have successfully added $2 to the "Voice List".
} } }