What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » GetStatusChange

Pages: (2): « First « 1 [ 2 ] Last »
GetStatusChange
Author: Message:
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: GetStatusChange
quote:
Originally posted by Tobiaz
If i sign in, there appers many Toast: One for every contact. Even if he is offline, the plugin let me know this... Do you know what i mean!?
If i sing in, theres a toast for every contact with his actual status...

How can I prevent this!?
As hmaster said, remove the line containing the test for MISTATUS_OFFLINE.

Quick tip: Since the MISTATUS enum is numbers, use a Select...Case construct. The code will look cleaner, and will run better.

Quick tip 2: For a quick-and-easy online check, regardless of status, use 'pIMContact.Status & MISTATUS_ONLINE'.

Quick tip 3: You should be able to prevent it showing toasts when you sign in if you check if the old status is equal to MISTATUS_UNKNOWN (IIRC, double-check).
[Image: spartaafk.png]
12-17-2005 12:12 PM
Profile PM Web Find Quote Report
Millenium_edition
Veteran Member
*****

Avatar

Posts: 1787
Reputation: 57
Joined: Apr 2003
RE: GetStatusChange
quote:
Originally posted by hmaster
i dont know vb6 but if you removed
code:
ElseIf pMContact.Status = MISTATUS_OFFLINE Then
    Status = "offline"
then it wouldnt notify you the offline contacts *-)
don't do that

the sign in process consists of:
<notifications of every contact list item on "offline">
<OnSignIn event>
<every contact gets his initial status (list of online contacts)>

so you could use the onsignin event and a boolean to avoid all those "offline" popups
12-17-2005 12:14 PM
Profile E-Mail PM Find Quote Report
Tobiaz
Full Member
***

Avatar

Posts: 103
Reputation: 5
67 / Male / –
Joined: Aug 2005
Status: Away
O.P. RE: GetStatusChange
quote:
Originally posted by Millenium_edition
the sign in process consists of:
<notifications of every contact list item on "offline">
<OnSignIn event>
<every contact gets his initial status (list of online contacts)>

Oh... that's a litte bit complicated. Could you post a Sample!?

thank you


Greeeeeeez Tobiaz
12-17-2005 05:32 PM
Profile E-Mail PM Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« 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