For staying connected I use this in options->perform for all servers:

Code:
/join #Keep_Alive
/timer5 0 120 /msg #Keep_Alive Keep Alive