on *:notice:register*:?: {
if (!$2 || !$3) {
.notice $nick Incorrect format. To register, type: register name pass
}
else writeini login.ini Logins $2 $3
}
on *:notice:id*:?:{
if ($1 == id && (!$2 || !$3)) {
.notice $nick Incorrect format. To identify, type: id name pass
}
elseif ($readini(login.ini,Logins,$2) == $3) {
if ($me !isop [color:red]#yourchannel[/color]) { .notice $nick I'm not currently opped, so I cannot voice you. Try identifying later, when I am an op. | return }
mode [color:red]#yourchannel[/color] +v $nick
}
else .notice $nick Incorrect identification.
}