Not sure that having to enter the password everytime you start is going to be desired. If someone wants the security of that option, they wouldn't want to leave the variable /set because someone can just hit cancel in the password dialog once it is set and still identify.
To the OP:
If no one else uses your computer or you know you can trust those who do, just use the on CONNECT section in the script above and replace %identify with your password. For multiple networks, you can format it like this:
on *:connect: {
if ($network == irchighway) { msg nickserv identify password }
elseif ($network == dalnet) { msg nickserv identify password }
elseif ($network == somenetwork) { msg nickserv identify password }
}
Obviously, replace the network names and passwords. If you're not sure of the network name, connect to the network and type:
//echo -a $network