Why not use floating contacts?
code:
function OnEvent_SigninReady(sEmail){
for(var enum = new Enumerator(Messenger.MyContacts) ; !enum.atEnd(); enum.moveNext()){
var sContact = enum.item();
if (sContact.Status == 3){ //Will display only contacts online
MsgPlus.DisplayToast('', sContact.Email, '', ToastCallback, sContact.Email);
}
}
}
function ToastCallback(sCallBack){
Messenger.OpenChat(sCallBack);
}
No idea why you want to do this