What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Script only for me

Script only for me
Author: Message:
zefaya
New Member
*


Posts: 4
Joined: Mar 2006
O.P. Script only for me
Hi all, i want launch the scripts only for my email adresse.
So i include :

function OnEvent_ChatWndSendMessage(ChatWnd) {
if(Messenger.MyUserId == '584848673') {
    The rest of code
    }
}

But doesn't work..

and

var user = Messenger.MyUserId
var me = '584848673'
function OnEvent_ChatWndSendMessage(ChatWnd,Msg) {
if user = moi
{
    if(Msg == "^stealdp") { ...

again

Can you help me?
07-14-2006 09:51 PM
Profile E-Mail PM Web Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Script only for me
Are you sure that is your userid?

You can also use your e-mailaddress, maybe that helps. Messenger.MyEmail


This post was edited on 07-14-2006 at 10:02 PM by Ezra.
[Image: 1-0.png]
             
07-14-2006 10:01 PM
Profile PM Web Find Quote Report
L. Coyote
Senior Member
****

Avatar
Captain Obvious

Posts: 981
Reputation: 49
38 / Male / Flag
Joined: Aug 2004
Status: Away
RE: Script only for me
quote:
Originally posted by zefaya
OnEvent_ChatWndSendMessage(ChatWnd)

You're missing an argument:
quote:
Originally posted by MsgPlus! Live Scripting Documentation
OnEvent_ChatWndSendMessage(ChatWnd, Message)

Don't forget to download the documentation.

This post was edited on 07-14-2006 at 10:16 PM by L. Coyote.

Hack, hack, hack!
Finally became a Systems Analyst! :spam:

07-14-2006 10:12 PM
Profile PM Find Quote Report
NiteMare
Veteran Member
*****

Avatar
Giga-Byte me

Posts: 2497
Reputation: 37
36 / Male / Flag
Joined: Aug 2003
RE: Script only for me
also confirm thats your UserID:

Debug.Trace(Messenger.MyUserId);
[Image: sig/]
I'll never forget what she said 6660 days, 8 hours, 49 minutes, 44 seconds ago
Need hosting? Check
out my website. we can help you out :)
07-14-2006 10:25 PM
Profile PM Web Find Quote Report
zefaya
New Member
*


Posts: 4
Joined: Mar 2006
O.P. RE: Script only for me
Thanks Leonardo, that's work ;)
07-15-2006 04:45 PM
Profile E-Mail PM Web Find Quote Report
Voldemort
Veteran Member
*****

Avatar

Posts: 3504
Reputation: 49
– / – / Flag
Joined: Jul 2005
Status: Away
RE: Script only for me
So how did it end up? it seems useful...
*All posts are a purely speculative hypothesis based on abstract reasoning.
Not my daughter, you bitch!
[Image: ico-mollytrix16.gif]
07-15-2006 04:52 PM
Profile E-Mail PM Find Quote Report
« 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