What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Need a counter for a specific contact

Need a counter for a specific contact
Author: Message:
chadchoud
New Member
*


Posts: 3
Joined: Sep 2008
O.P. RE: Need a counter for a specific contact
Fine. I created
code:
count = new Array();
outside the function then inside it I replaced times with count[Contact.Email] so that it becomes:
code:
count[Contact.Email] = count[Contact.Email] + 1;
But
code:
Debug.Trace(count[Contact.Email]);
prints:
-1.#IND

What's wrong now?

Edit: Solved. Had to check if it's != null. :)

This post was edited on 09-18-2008 at 09:09 PM by chadchoud.
09-18-2008 08:56 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Need a counter for a specific contact - by chadchoud on 09-18-2008 at 08:04 PM
RE: Need a counter for a specific contact - by MeEtc on 09-18-2008 at 08:17 PM
RE: RE: Need a counter for a specific contact - by chadchoud on 09-18-2008 at 08:19 PM
RE: Need a counter for a specific contact - by MeEtc on 09-18-2008 at 08:30 PM
RE: Need a counter for a specific contact - by chadchoud on 09-18-2008 at 08:56 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