It really depends on *why* your connection drops.

If the server is kicking you due to idle, set a timer to msg the channel on a shorter interval than the server allows for idle.

If its your internet connection itself, there are no easy answers.