Code:
on ME:*:JOIN:#:who #


I've used that for years. I don't normally have Keep channels open
selected but I selected it and disconnected several times and that
worked every time.