IRC doesn't use SSH. It uses SSL. You could probably make an SSH script, but it wouldn't connect to IRC, it would connect to an SSH daemon.

-genius_at_work