First, you don't need ^ unless you're halting default text. Second, this notice *may* be an SNOTICE instead of NOTICE. Third, unless /nickserv is a command on that server, you may need to use msg nickerv identify password instead.