Just do:

/server aa.oo.com $$?="the prompted nick" $$?="the prompted pass"