Hello,
Sometimes I get kicked off IRC, is it possible for Mirc to automatically rejoin the groups or alias?
ALT + O --> IRC --> (Check) Rejoin Channels on connect
Outside of that (if you NEEDED it scripted), you'd need to run thru all open conneciton id's, check to see if window is a channel, and then rejoin it.
by rejoin I'm guessing you mean reconnect to the server and then rejoin the channel(s) you were in
under Options (alt+o) click on the + next to connect
(if the menu is explanded already it will be a -)
click the Options item and make the changes to reconnect on dissconnect
then scroll down to the heading IRC, click on Rejoin Channels on connect
click ok