On *:TEXT:!ban*:#: {
if ($read(reglist.txt,nw,$nick)) {
msg # banning $+($$2,.) He's been naughty
msg # .ban $$2
}
else { msg # Sorry $nick you don't have the correct privileges. }
}
On *:Text:!reg add*:#: {
if ($read(reglist.txt,nw,$nick)) { write reglist.txt $$3 }
else { msg # Sorry $nick you don't have the correct privileges. }
}