Shoutbox

automatic initiate boss protection - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: automatic initiate boss protection (/showthread.php?tid=94178)

automatic initiate boss protection by SkykeN on 03-22-2010 at 10:22 AM

Hi, I have a question, is there an option to automaticly initiate the boss protection after a couple of minutes not using messenger? Is this possible, maybe with some plugin?


RE: automatic initiate boss protection by matty on 03-22-2010 at 01:07 PM

Here is a quick script that will lock messenger when you status is set to idle.

In order for this to work WLM has to be allowed to change your status to idle after X minutes of inacctivity.

js code:
function OnEvent_MyStatusChange (nStatus) {
    if (nStatus === STATUS_IDLE) {
        Messenger.LockMessenger = true;
    }
}

RE: RE: automatic initiate boss protection by SmokingCookie on 04-12-2010 at 07:32 PM

quote:
Originally posted by matty
js code:
function OnEvent_MyStatusChange (nStatus) {
    if (nStatus === STATUS_IDLE) {
        Messenger.LockMessenger = true;
    }
}


Well, that ain't working at all. Should be like this:

JScript code:
function OnEvent_MyStatusChange (nStatus) {
    if (nStatus === STATUS_IDLE) {
        Messenger.LockMessenger(true);
    }
}

RE: automatic initiate boss protection by matty on 04-12-2010 at 07:38 PM

Wow did I seriously do that. Good catch!