quote:
Originally posted by gdumitresco
Hi
I saw on Mirand IM when you change your status, it will change your personal status message as you define and show how much time you've been on that status, i.e.: I became away/busy and my personal status message becomes like this "I'm away since 2:12pm" or "I'm busy since 11:23am".
I tried starting on my own, but for programmer, I'm good singer. If you catch my drift.
Is it easy to be done?
Sure is easy
code:
function OnEvent_MyStatusChange(nNewStatus) {
Messenger.MyPersonalMessage = 'I changed my status : '+new Date();
}
Now that is going to print out a really long personal message.
When you use new Date() that way the resulting string is something like this
quote:
Mon Jul 09 2007 15:06:39 GMT-0400 (Eastern Daylight Time)