I have one that I wrote myself a few days ago. I'm not 100% sure how stable it is but It's worked for what I've tested so far. The only issues I was having was the Connection Lost disconnect because it was an unexpected disconnect rather than logging off manually. I've since updated my script to scan for the connection lost gump & hit the okay & go to the main screen and try to log back in every X amount of seconds/minutes.
So far I've tested it a for statement of 25 logins on & off & it worked flawlessly. I tested about 5 connection lost gumps by unplugging my wireless antenna and it worked fine.
I have a problem with connection lost too, for some reason my wireless router decided to lose connection at odd times of the night!
I know this was something requested before a week or so ago & I've been using it in my own personal scripts. I'm probably going to post it up by this weekend w/ directions for use. There will be log on, log off & a sub that scans & deals w/ the connection lost.
The only problem is the users putting it in the correct location in their scripts, and upon logging back in making the script pick up where it left off correctly, or restarting. I have my miner/lumberjack scripts restart on logout/connection lost as it's easiest.