Anytime I'm fed up with doing the same thing over and over again, I tend to go write some Emacs Lisp code to automate that so that I don't have to think so much about it ever again. Then I share the code in case it could find some users, which sometimes actually happen...
No picture this time, follow the link: rcirc-groups.
and some more
Go discover them at dimitri's GitHub page.