This script I made for a buddy who was having troubles with nickserv and his BNC.. This script will identify even behind a bnc. :) First you must use the /setpass function. It will fully explain itself once you mess up lol :)
alias setpass {
if (!$1) { echo -a Invalid Syntax Ex: /setpass doggie | halt }
if ($1) {
set %nickpass $1-
if (%nickpass) { echo -a Nick password Successfully set. }
}
}
RAW 433:*:{
haltdef
if (!%nickpass) {
tnick $anick
echo -a Your password is NOT set. To set it type /setpass password
echo -a Example: /setpass doggie
halt
}
if ($2 == $me) {
timer 1 3 msg nickserv GHOST $me %nickpass
timer 2 5 tnick $me
tnick $anick
}
}
on 1:NOTICE:*This nickname is registered*:*:{
if (!%nickpass) && ($nick == Nickserv) {
echo -a Your password is NOT set. To set it type /setpass password
echo -a Example: /setpass doggie
halt
}
if ($nick == Nickserv) {
if ($2 == nickname) && ($3 == is) && ($4 == registered) {
.msg nickserv identify %nickpass
}
}
}