What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Question about scripting

Question about scripting
Author: Message:
T-PO
Junior Member
**


Posts: 60
– / Male / Flag
Joined: Jun 2004
O.P. Question about scripting
Hi,

I'm just starting to look at scripts and trying to understand them. Now I have question:

I have a list of contacts (d_emails) and I want to check the status of these contacts during sign in...

function OnEvent_Signin(Email) {
   d_emails = l_emails.split(",");
   for (var i in d_emails) {
       Debug.Trace("Status van " + d_emails[i] + " : " + Messenger.MyContacts.GetContact(d_emails[i]).Status);         
   }           
}

Now the debugger shows an error saying it needs an Object.
I can't find out what's wrong. Can you please help?

Regards,

T-PO
05-15-2009 02:10 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: Question about scripting
which line does the debugger point at?
also, how is l_emails defined?

If you provide this information your problem will be a lot easier to solve.
Man is least himself when he is in his own person. Give him a mask and he will tell you the truth. (Oscar Wilde)
05-15-2009 02:42 PM
Profile PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Question about scripting
Try a trace on d_emails[i] as all I can see that may be wrong is that the email addresses are malformed or have extra characters in them ^o)
<Eljay> "Problems encountered: shit blew up" :zippy:
05-15-2009 03:16 PM
Profile 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