looks like you have a few things covered.
Just a suggestion on a few added features for your script.
mirc offers users modes wich can be added to this dialog window.
+/- R sets your access to restricted.
+/- I makes yourself invisible
+/- O 2gives IRC-Operator status
+/- S lets you receive server notices
+/- W makes you receive wallops messages to IRC-Ops
Although not all these modes are intended for regular end users.
there are some that would be most helpful. Like R and I modes