What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Who you're chatting too

Who you're chatting too
Author: Message:
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
O.P. Huh?  Who you're chatting too
How can i find out the email address of the prson im chatting to, to use in a plugin?  Is there a tag etc?
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
08-19-2003 01:44 PM
Profile E-Mail PM Web Find Quote Report
Kryptonate
Veteran Member
*****

Avatar

Posts: 2874
Reputation: 23
38 / Male / –
Joined: Jun 2003
RE: Who you're chatting too
the emailadress is right next to their nickname right above the conversation :undecided:.
08-19-2003 01:47 PM
Profile E-Mail PM Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
O.P. RE: Who you're chatting too
Yea i know that, but i want to be able to get the email address to use as a variable in a plugin.
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
08-19-2003 01:51 PM
Profile E-Mail PM Web Find Quote Report
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
RE: Who you're chatting too
in Parse command/tag function, you get a object of ConversationWindow...you can use its property "Contacts" ...that contains all the contants in the conversation. For detail I think you have to look into Messenger API:)

08-19-2003 01:58 PM
Profile PM Web Find Quote Report
Predatory Kangaroo
Full Member
***


Posts: 144
– / Male / –
Joined: Jul 2003
RE: Who you're chatting too
oConversationWindow.Contacts.Item(0).Property(1)
that will get the first user in the conversation's e-mail address (there are different ways, but that is the most foolproof).
change the parameter in Item(n) to change which user you get the e-mail of.
[Image: imagetest.php?display=You%20dont%20know%...djust=true]
08-19-2003 03:23 PM
Profile PM Web Find Quote Report
Hah
Full Member
***

Avatar
Im in a good mood - take advantage!

Posts: 224
38 / Male / –
Joined: May 2003
RE: Who you're chatting too
Could this code do the job, it gets each contact and adds it to sresult? In ParseCommand or maybe as a tag?

Hah

code:
   
On Error GoTo EH
    Dim MSNCont As IMessengerContact
   
    If (StrComp(LCase(sCommand), "/xconvppl", vbTextCompare) = 0) Then
   sResult = "Contacts: "
    For Each MSNCont In oConversationWnd.Contacts
    sResult = sResult + " " + MSNCont.SigninName
    Next
    ParseCommand = True
    Exit Function
    End If
    ParseCommand = False
    Exit Function
EH:
    MsgBox Err.Description, vbOKOnly, Err.Number
Exit Function


This post was edited on 08-19-2003 at 04:17 PM by Hah.
This post was brought to you by Hah!
(and he takes no responsibility for it :p)

[Image: signatures.jpg]

{Current Web Site}
08-19-2003 04:08 PM
Profile E-Mail PM Web Find Quote Report
Hah
Full Member
***

Avatar
Im in a good mood - take advantage!

Posts: 224
38 / Male / –
Joined: May 2003
RE: Who you're chatting too
Here you go, i got bored so i made a working plugin and source (VB) with that code in to see it working its attached in the installer below.

It will install the source to the plugin directory of plus, so if u have any projects in there already, please move them before you install it, otherwise its simple.

Thanks

Hah

.zip File Attachment: installer.zip (37.2 KB)
This file has been downloaded 165 time(s).
This post was brought to you by Hah!
(and he takes no responsibility for it :p)

[Image: signatures.jpg]

{Current Web Site}
08-19-2003 04:57 PM
Profile E-Mail PM Web Find Quote Report
chris
Veteran Member
*****


Posts: 1137
Reputation: 2
36 / Male / –
Joined: May 2003
RE: Who you're chatting too
is thins going to be added to another plugin or were you just bored and making a simple plugin?
08-20-2003 04:47 PM
Profile PM Find Quote Report
Hah
Full Member
***

Avatar
Im in a good mood - take advantage!

Posts: 224
38 / Male / –
Joined: May 2003
RE: RE: Who you're chatting too
quote:
Originally posted by hereyougo420
is thins going to be added to another plugin or were you just bored and making a simple plugin?


It twas to help Dempsey, thats all, I was bored so thought I would help, the plugin was just to show a working example of the code.
This post was brought to you by Hah!
(and he takes no responsibility for it :p)

[Image: signatures.jpg]

{Current Web Site}
08-20-2003 06:58 PM
Profile E-Mail PM Web 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