A simple auto identify script. Uses variables, and includes an /id alias that does /msg nickserv identify %auto.ident.password. Made by me, also my second posted snippet.
on *:load: {
set %auto.ident.password $$?="Enter your NickServ password."
}
on *:connect: { msg nickserv identify %auto.ident.password }
alias id {
msg nickserv identify %auto.ident.password
}