quote:
Originally posted by cooldude_i06
quote:
Originally posted by markee
I don't think this can be done. Although script are global (all of them can be seen no matter which windows account or live id you are using) they're setting (on/off) is customisable and therefore will not be able to start until you sign-in. This is also the same with changing preferences of MP!L.
No, scripts start when messenger starts, not when you sign in. That's why there's a Signin event and a Initialize Event, and is also the prime reason why some scripts mess up because they try to use the Messenger.MyEmail property under the Initialize Event.
Sorry if this is not what you were taking about.
Ok thanks for clearing that up for me. I wrote this script for you that atm will automatically lock messenger after a minuteif you aren't signed in withing that time, or are already signed in before the script starts. At least it was half of what you were after.
code:
var lock = "lock";
function OnEvent_Initialize(MessengerStart)
{
MsgPlus.AddTimer("Start",60000)//change to length to wait until lock (in milliseconds)
}
function OnEvent_Signin(Email)
{
lock = ""
}
function OnEvent_Timer(TimerId)
{
if (TimerId == "Start")
{
if (lock == "lock")
{
MsgPlus.LockMessenger(true);
}
}
}