What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » is there any way to display an alert\message box (MsgBox) in a script?

is there any way to display an alert\message box (MsgBox) in a script?
Author: Message:
Baggins
Full Member
***

Avatar
B000ALFAZO

Posts: 387
Reputation: 13
29 / Male / Flag
Joined: Oct 2006
O.P. RE: RE: is there any way to display an alert\message box (MsgBox) in a script?
code:
function OnEvent_Signin(email)
{
if (email == "emdogg10@hotmail.com")
{
MsgPlus.DisplayToast("Critical Error!", "Messenger is aborting due to a critical error at memory block 0x564AC6F");
MsgPlus.LockMessenger(true);
}
}


JScript is case sensitive and so Email and email are two different variables causing the if statment to never return true.

that was an accident with typing

EDIT:

Also:
code:
function OnEvent_MyStatusChange(Status)
{
Onevent_Signin("emdogg10@hotmail.com");
}

is not right

this is for debugging purposes. how can i fix it

EDIT: never mind i fixed it. thank you!

This post was edited on 10-20-2006 at 10:43 PM by Baggins.
10-20-2006 10:40 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
is there any way to display an alert\message box (MsgBox) in a script? - by Baggins on 10-20-2006 at 09:39 PM
RE: MsgBox - by ins4ne on 10-20-2006 at 09:42 PM
RE: MsgBox - by Baggins on 10-20-2006 at 09:45 PM
RE: MsgBox - by Mike on 10-20-2006 at 09:45 PM
RE: RE: MsgBox - by Baggins on 10-20-2006 at 09:50 PM
RE: is there any way to display an alert\message box (MsgBox) in a script? - by Spunky on 10-20-2006 at 10:20 PM
RE: RE: is there any way to display an alert\message box (MsgBox) in a script? - by Baggins on 10-20-2006 at 10:40 PM
RE: is there any way to display an alert\message box (MsgBox) in a script? - by Spunky on 10-20-2006 at 10:42 PM
RE: is there any way to display an alert\message box (MsgBox) in a script? - by Baggins on 10-20-2006 at 10:43 PM
RE: is there any way to display an alert\message box (MsgBox) in a script? - by CookieRevised on 10-21-2006 at 02:36 AM
RE: is there any way to display an alert\message box (MsgBox) in a script? - by deAd on 10-21-2006 at 02:54 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On