GetStatusChange - 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) +----- Forum: Plug-Ins (/forumdisplay.php?fid=28) +------ Thread: GetStatusChange (/showthread.php?tid=53924) GetStatusChange by Tobiaz on 12-15-2005 at 04:21 PM
Hi! RE: Get FriendlyName by Dempsey on 12-15-2005 at 04:25 PM what programming language are you using? RE: Get FriendlyName by Tobiaz on 12-15-2005 at 04:26 PM
Oh... I'm sorry for missing that RE: Get FriendlyName by Dempsey on 12-15-2005 at 04:31 PM
something like: code: RE: Get FriendlyName by Tobiaz on 12-15-2005 at 04:37 PM
Yeees... But so I get my own Friendlyname... is that right!? RE: Get FriendlyName by Patchou on 12-15-2005 at 06:48 PM
Just use the Messenger object passed in parameters. The documentation of the Messenger API is part of the documentation given with the Plus! plugin API. In pesudo code it will be like: RE: Get FriendlyName by Tobiaz on 12-17-2005 at 10:38 AM
So, I have antoher little problem. Maybe that's a stupid question, but... code: But how the hell can I call it!? Should it be called automatically!? I don't get it... Thanks for helping Greeeeeeez Tobiaz RE: GetStatusChange by Millenium_edition on 12-17-2005 at 10:41 AM
quote:if a contact changes his/her status, it gets called, and all it does is assigning a value to an undeclared variable at this moment. adding something along the lines of code:should give a result RE: GetStatusChange by Tobiaz on 12-17-2005 at 11:50 AM
Coool. Thank you! It works perfect. I made it now with Toasts... RE: GetStatusChange by hmaster on 12-17-2005 at 12:00 PM
i dont know vb6 but if you removed code:then it wouldnt notify you the offline contacts RE: GetStatusChange by RaceProUK on 12-17-2005 at 12:12 PM
quote: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). RE: GetStatusChange by Millenium_edition on 12-17-2005 at 12:14 PM
quote: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 RE: GetStatusChange by Tobiaz on 12-17-2005 at 05:32 PM
quote: Oh... that's a litte bit complicated. Could you post a Sample!? thank you Greeeeeeez Tobiaz |