I know, but MY point was that there could be another way to do it. A timer is not necessary if he rewrites his script. It all depends on what he wants. Does he really want to do something at the moment he closes the channel window? If so, then he could use a timer. If not he could check the window's status at the moment he reconnects.