What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Syntax error?

Syntax error?
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Syntax error?
Yeah because you are using the function all wrong.

LockMessenger is a function of the object MsgPlus.
LockMessenger as 1 parameter that accepts true or false.
true to lock WLM false to unlock it

js code:
function OnEvent_Initialize (bMessengerStart) {
    MsgPlus.LockMessenger (true);
}

And yes a boolean is either true or false nothing else.
04-09-2009 09:59 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Syntax error? - by Quantum on 04-09-2009 at 09:32 PM
RE: Syntax error? - by matty on 04-09-2009 at 09:59 PM
RE: Syntax error? - by Quantum on 04-09-2009 at 10:01 PM
RE: Syntax error? - by Eljay on 04-09-2009 at 10:02 PM
RE: Syntax error? - by Quantum on 04-09-2009 at 10:06 PM
RE: Syntax error? - by matty on 04-09-2009 at 10:07 PM
RE: Syntax error? - by Eljay on 04-09-2009 at 10:12 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