MSN won't display my toasts in my script.
code:
function OnEvent_Initialize(MessengerStart)
{
Debug.Trace("Hello World!");
}
function OnEvent_Signin(Email)
{
if (email == "andvibeto@msn.com")
{
var Message = "Hello Master " + Messenger.MyName + "!";
Message = MsgPlus.RemoveFormatCodes(Message);
MsgPlus.DisplayToast("", Message);
}
}
function OnEvent_ContactSignin(Email)
{
var Message = "Latest INTEL:" + Messenger.ContactName + "has just signed in";
Message = MsgPlus.RemoveFormatCodes(Message);
MsgPlus.DisplayToastContact("", CtcName, message);
}
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MsgKind)
{
var Message = Messenger.ContactName + "vil snakke, plage deg eller bare si hallo. Your choice";
Message = MsgPlus.RemoveFormatCodes(Message);
MsgPlus.DisplayToast("", CtcName, message);
}
function OnEvent_Signout(Email)
{
if (email == "andvibeto@msn.com")
{ var Message = "Until next time Master" + Messenger.MyName + ", have a good time!";
Message = MsgPlus.RemoveFormatCodes(Message);
MsgPlus.DisplayToast("", Message);
}
}
function OnEvent_Uninitialize(MessengerExit)
{
Debug.Trace ("Goodbye World!");
}
Do anyone see what is wrong?