It sounds like you just want to auto identify, which there are a few scripts that will do that for you.

http://scripting.pball.x10.mx/2011/04/11/auto-identify/

There is the auto identify script I made. Load it up and add your nick/pass and you'll never have to identify again.


http://scripting.pball.win
My personal site with some scripts I've released.