on *:text:!addc*:#:{ if ($nick == Manic) { if ($2 == null) { notice $nick Error, insert channels name !addc #Channel | halt } else { if (*#* !iswm $2) { notice $nick Error, insert channels name !addc #Channel } else { write oplist $+ $2 $+ .txt write hoplist $+ $2 $+ .txt write voicelist $+ $2 $+ .txt notice $nick Oplist, Hoplist, and Voicelist added for $2 $+ . } } } }