What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Is there a script to.....?

Pages: (3): « First [ 1 ] 2 3 » Last »
Is there a script to.....?
Author: Message:
lu_benja
Junior Member
**


Posts: 43
Joined: Sep 2005
O.P. Is there a script to.....?
getting disconected from the messenger in a time that I choose ?
09-13-2006 06:39 PM
Profile E-Mail PM Find Quote Report
Jesus
Scripting Contest Winner
****

Avatar
Koffie, my cat ;)

Posts: 623
Reputation: 15
38 / Male / Flag
Joined: Jul 2005
RE: Is there a script to.....?
I'll make it for you now, will be easy
09-13-2006 06:40 PM
Profile PM Find Quote Report
lu_benja
Junior Member
**


Posts: 43
Joined: Sep 2005
O.P. RE: Is there a script to.....?
wowww thank you!!
09-13-2006 06:43 PM
Profile E-Mail PM Find Quote Report
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
32 / Male / Flag
Joined: Jul 2006
RE: Is there a script to.....?
code:
var allowed;
var restricted = ''; //Edit to your Email
function OnEvent_Signin(){
if (Messenger.MyEmail == restricted && allowed == false){
Messenger.Signout();
}
if (Messenger.MyEmail == restricted){
MsgPlus.AddTimer("AcTime", 60*60*1000);//Ads a 1 hour timer for access time
}
}

That should work but i haven't tested it
quote:
originally posted by jesus
I'll make it for you now, will be easy

Sorry, do you want me to delete mine?

This post was edited on 09-13-2006 at 06:52 PM by Jimbo.
09-13-2006 06:51 PM
Profile E-Mail PM Find Quote Report
vaccination
Veteran Member
*****

Avatar

Posts: 2513
Reputation: 43
32 / Male / –
Joined: Apr 2005
RE: Is there a script to.....?
quote:
Originally posted by 134jimbodude


    code:
    var allowed;
    var restricted = ''; //Edit to your Email
    function OnEvent_Signin(){
    if (Messenger.MyEmail == restricted && allowed == false){
    Messenger.Signout();
    }
    if (Messenger.MyEmail == restricted){
    MsgPlus.AddTimer("AcTime", 60*60*1000);//Ads a 1 hour timer for access time
    }
    }


That should work but i haven't tested it



That isn't going to allow him/her to choose when to sign out though is it? (i don't have any scripting knowledge TBH but it doesn't look like it will :S)
[Image: jumbled.png]
09-13-2006 06:54 PM
Profile PM Find Quote Report
lu_benja
Junior Member
**


Posts: 43
Joined: Sep 2005
O.P. RE: Is there a script to.....?
thanks but I don't know how to make it work
I put the script but it's not showing it
09-13-2006 06:56 PM
Profile E-Mail PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Is there a script to.....?
quote:
Originally posted by vaccination
That isn't going to allow him/her to choose when to sign out though is it? (i don't have any scripting knowledge TBH but it doesn't look like it will

nope indeed, because he forgot the timer Event and also I don't think the means the wants to stay online for 1 or 2 hours, but the wants msn to offline on 7pm for example right?
[Image: 1-0.png]
             
09-13-2006 06:57 PM
Profile PM Web Find Quote Report
Jesus
Scripting Contest Winner
****

Avatar
Koffie, my cat ;)

Posts: 623
Reputation: 15
38 / Male / Flag
Joined: Jul 2005
RE: Is there a script to.....?
code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
Debug.Trace(Message.split(' ')[0])
    if(Message.split(" ")[0] == "/dsignout")
    {
        MsgPlus.AddTimer("signout", Message.split(" ")[1] * 60000)
        return ""
    }
}

function OnEvent_Timer(signout)
{
    Messenger.Signout()
}

function OnGetScriptCommands()
{
    var commands = "<ScriptCommands>"
    commands += "  <Command>"
    commands += "    <Name>dsignout</Name>"
    commands += "    <Description>Signs you out after a specified amount of time</Description>"
    commands += "    <Parameters>&lt;time in seconds&gt;</Parameters>"
    commands += "  </Command>"
    commands += "</ScriptCommands>"
    return commands
}

use /dsignout 5 to sign out after 5 seconds minutes.
minutes will be a bit more useful for this purpose ;)

This post was edited on 09-13-2006 at 07:03 PM by Jesus.
09-13-2006 07:02 PM
Profile PM Find Quote Report
vaccination
Veteran Member
*****

Avatar

Posts: 2513
Reputation: 43
32 / Male / –
Joined: Apr 2005
RE: RE: Is there a script to.....?
quote:
Originally posted by Ezra
quote:
Originally posted by vaccination
That isn't going to allow him/her to choose when to sign out though is it? (i don't have any scripting knowledge TBH but it doesn't look like it will

nope indeed, because he forgot the timer Event and also I don't think the means the wants to stay online for 1 or 2 hours, but the wants msn to offline on 7pm for example right?


Hah i thought it wouldn't, go me :banana: 8-)

And yes i believe he/she wants wlm to sign out after say 7pm.
[Image: jumbled.png]
09-13-2006 07:03 PM
Profile PM Find Quote Report
Jesus
Scripting Contest Winner
****

Avatar
Koffie, my cat ;)

Posts: 623
Reputation: 15
38 / Male / Flag
Joined: Jul 2005
RE: Is there a script to.....?
lol thought he meant after a specified amount of time:P
maybe I'll do that later if no one else volunteers
09-13-2006 07:05 PM
Profile PM Find Quote Report
Pages: (3): « First [ 1 ] 2 3 » Last »
« Next Oldest Return to Top Next Newest »


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