NickServ Identify helper
Platform: mIRC
Published Aug 22, 2011
Updated Aug 22, 2011
This is a NickServ Identify helper.
How it works
Do you also hate it when you lose your nickserv password?
This litle snippet will help you with remembering it.
You can set a password for every network.
If you forgot your password you can type /getpass to get the password for the current network.
There is also a /delpass which removed the password for the current network
Commands
/setpass <password here>
Sets the password for the auto identify.
/getpass
Returns the password of the current network
/delpass
Removed the password of the current network ;- Nickserv identify helper
;- Code from Aha2Y
;- Script from hawkee.com
;-The alias which sets the password.
alias setpass {
writeini auth.ini $network password $1
echo 3* NickServ password updated for $network
}
;-The alias which returns the password.
alias getpass {
if ($readini(auth.ini, $network, password) == $null) {
echo -a 3* There is no password saved for $network $+ . }
else {
echo -a 3* The nick password for $network is $readini(auth.ini, $network, password)
}
}
;-The alias for removing a password.
alias delpass {
if ($readini(auth.ini, $network, password) == $null) {
echo -a 3* There is no password saved for $network $+ . }
else {
echo -a 3* The nick password for $network is deleted!
remini auth.ini $network
}
}
;- The Auto Identify.
on *:connect:{
if ($readini(auth.ini, $network, password) == $null) { halt }
else {
msg nickserv id $readini(auth.ini, $network, password)
}
}