What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [HELP] Send On Signin

[HELP] Send On Signin
Author: Message:
fnatiq
New Member
*

Avatar

Posts: 5
31 / Male / Flag
Joined: Jan 2009
O.P. [HELP] Send On Signin
Hello,

I Downloaded the file from http://shoutbox.menthix.net/showthread.php?tid=63043

But now i want to automaticly send a text when someone comes online.

I tried to change it and set it up like this


function OnEvent_ContactSignin(Email){
    if(!fso.FolderExists(MsgPlus.ScriptFilesPath+"\\"+Messenger.MyUserId+"\\"))
        fso.CreateFolder(MsgPlus.ScriptFilesPath+"\\"+Messenger.MyUserId+"\\");
    if(Messenger.MyContacts.GetContact(Email).status!=1){
        var Contact = Messenger.MyContacts.GetContact(Email);
        if(fso.FileExists(MsgPlus.ScriptFilesPath+"\\"+Messenger.MyUserId+"\\"+Email+".txt")){
            }   
                Open(Contact);
    }
}
function Open(Contact){
    CWnd = Messenger.OpenChat(Contact.Email);
    CWnd.SendMessage(fso.OpenTextFile(MsgPlus.ScriptFilesPath+"\\"+Messenger.MyUserId+"\\"+((Contact.Network===1)?"":"yahoo:")+Contact.Email+".txt",1).ReadAll().replace(/[\s\S]{2}$/,""));
    setTimeout ( 'Open(Contact)', 3000 );


That works, but it sends the message too fast.
I tried the timer but that don't work.

Can somebody help me.


PS. The orginal topic is closed that's why i started a new topic
01-12-2009 12:38 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[HELP] Send On Signin - by fnatiq on 01-12-2009 at 12:38 PM
RE: [HELP] Send On Signin - by mynetx on 01-12-2009 at 12:42 PM
RE: [HELP] Send On Signin - by fnatiq on 01-12-2009 at 12:46 PM
RE: [HELP] Send On Signin - by markee on 01-12-2009 at 01:18 PM
RE: [HELP] Send On Signin - by fnatiq on 01-12-2009 at 01:24 PM
RE: [HELP] Send On Signin - by markee on 01-12-2009 at 01:35 PM
RE: [HELP] Send On Signin - by fnatiq on 01-12-2009 at 01:44 PM
RE: [HELP] Send On Signin - by matty on 01-12-2009 at 01:58 PM
RE: [HELP] Send On Signin - by fnatiq on 01-12-2009 at 02:05 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