Hey Guys,
Just wondering if any of you could help me with this. I know what I'm trying to do is very simple! But for some reason it just won't work?
I want to use the MsgPlus.MessengerIsLocked property to run some code determined on whether or not MP!L is locked or not.
code:
function OnEvent_MyStatusChange(){
if (MsgPlus.MessengerIsLocked = 0) {
//If Messenger isn't locked execute code
}
}
I have tried everything:
code:
(MsgPlus.MessengerIsLocked = 0)
(MsgPlus.MessengerIsLocked == 0)
(MsgPlus.MessengerIsLocked === '0')
(MsgPlus.MessengerIsLocked === "False")
(MsgPlus.MessengerIsLocked === 'False')
And numerous others that follow similar syntax.
The code that executes works and I know this because I put it outside the
code:
if (MsgPlus.MessengerIsLocked = 0) {
Cycle and it worked fine. Sorry for the newb question but I really can't figure it out!
Thanks for any help,
Black Ice