Hi, I'm new to MsgPlus! Scripting and I was wondering what was wrong with my code.
What it's SUPPOSED to do is get the number of active chats and display it in your Display Message.
But seeing as how the Documentation was so wonderful in not showing any examples, I'm going to need some 3rd party help.
code:
function OnEvent_Initialize(MessengerStart)
{
MsgPlus.AddTimer("WindowCount", 5000);
var Windows = Messenger.CurrentChats;
Messenger.MyPersonalMessage ("Chats open: " + Windows);
}
function OnEvent_Uninitialize(MessengerExit)
{
}
function OnEvent_Timer(WindowCount)
{
MsgPlus.AddTimer("WindowsCounts", 5000);
var Windows = Messenger.CurrentChats;
Messenger.MyPersonalMessage ("Chats open: " + Messenger.CurrentChats);
}
function OnEvent_Timer(WindowsCounts)
{
var Windows = Messenger.CurrentChats;
Messenger.MyPersonalMessage ("Chats open: " + Messenger.CurrentChats);
}