Well, just to point out the obvious, it says it was coded by VampiR. Unless this is you, it's required that you give the author full credit.
If this is yours, I see no purpose in this snippet as mIRC has an auto-identify feature built-in. This just simply allows one to change their nickname via a dialog basically. Pretty pointless, but decent snippet nonetheless.