Please always give enough data when requesting support...
For scripts, post the entire source of scripts or at least all the code involved for the problem. Otherwise we can't help you properly or give you a decent answer.
eg:
- it might be that you don't create a timer anywhere
- it might be that Wnd is not what you think it will be
- it might be that Wnd is not globally defined
- it might be that there is no chatwindow open anymore to send a message to
- it might be that you can't edit the chatbox in the chat window at that time
- it might be that another user has signed in while the previous timer was still running
- 500000 equals 500 seconds, not 50 seconds
- etc... etc...