O.P. RE: status script
I've tested this script but my status stil buzy when i closed conversation
Javascript code:
--------------------------------------------------------------------------------
var old_status = "online";
function OnEvent_ChatWndCreated(){
if(Messenger.CurrentChats.Count > 0){
if(old_status === "online") old_status = Messenger.MyStatus;
Messenger.MyStatus = STATUS_BUSY;
}
}
function OnEvent_ChatWndDestroyed(){
if(Messenger.CurrentChats.Count === 0){
Messenger.MyStatus = old_status
old_status = "online";
}
}
--------------------------------------------------------------------------------
This post was edited on 10-21-2010 at 06:27 AM by puortant.
|