Wonder if your problem has been solved. But here are two scripts that might help. They work well, when you first log on. But if you need to supply the password at midnight, I personally would just get autojump.tcl and configure it to make the bot jump servers just around/before midnight. bind evnt ...