Shoutbox

Finding a Post/Code - [solved] - 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: Finding a Post/Code - [solved] (/showthread.php?tid=67975)

Finding a Post/Code - [solved] by MicroWay on 11-02-2006 at 08:06 PM

Hello People!!!

I've tried to search but I can't find a post that someone (I don't remember the name) was asking for a code that when a especified contact sigin, it will be sent a message to that contact only...

Can someone link that post to me or paste the code here, please???

:)


RE: [help] Finding a Post/Code by matty on 11-02-2006 at 08:10 PM

[rant]
Seriously what the fuck is up with people not reading the damn scripting documentation...
[/rant]

code:
function OnEvent_ContactSignIn(sEmail){
    if (sEmail == 'johndoe@hotmail.com'){
        var oWnd = Messenger.OpenChat(sEmail);
        oWnd.SendMessage('my message');
    }
}

RE: [help] Finding a Post/Code by MicroWay on 11-02-2006 at 08:13 PM

Sorry, 've tried to make the script, but it was an error that I don't know hot to fix it... :S

But...
(Y) Thanks for your very fast reply and for the code!!!!

:)


RE: Finding a Post/Code - [solved] by -dt- on 11-02-2006 at 10:48 PM

quote:
Originally posted by MicroWay
Sorry, 've tried to make the script, but it was an error that I don't know hot to fix it... (Smilie)
then normally you post a thread or ask someone then they will tell you where you went wrong and you learn , instead of just getting the code given to you
RE: Finding a Post/Code - [solved] by MicroWay on 11-02-2006 at 10:51 PM

quote:
Originally posted by -dt-
then normally you post a thread or ask someone then they will tell you where you went wrong and you learn , instead of just getting the code given to you

Good Ideia, DT!!! Sorry, my mistake!!

I promise that the next time I tried to do some code and it have errors, I will do what you have said...
;)