; mirc has sent the initial nick/user (and optional pass)..
on *:logon:*:{
; so login..
!raw -q login <myUsername> <myPassword>
; and connect!
!raw -q conn irc.epiknet.org
}
Should complete the connection to the bouncer. You could script this furthur to only work for some connections, not send a hardcoded user/pass/server, wait for a certain string before sending the password etc.
There are probably a few scripts around designed to make bouncing easier. I'm sure many people would benefit from having these features built-in, as bouncers have become a much larger part of irc, I'm just trying to demonstrate such functionality *can* be scripted.
Hope that helps
[edit: repeating myself again again again again]