What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Feature Request] Additional identifier

[Feature Request] Additional identifier
Author: Message:
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. [Feature Request] Additional identifier
Can we have an additional identifier for OnEvent_ChatWndReceiveMessage which can hold the email address of the person triggering the function.

origin holds the name but for identification sakes, that is insecure and needs email checking. An identifier would make things a lot easier rather than having to create a lot of other stuff :)
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
07-10-2006 06:36 PM
Profile E-Mail PM Web Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: [Feature Request] Additional identifier
Yeah, i'd like to see this too, kinda weird anyway, because all the events work with e-mailadresses and this one works with a nickname :-S
[Image: 1-0.png]
             
07-10-2006 06:41 PM
Profile PM Web Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. RE: [Feature Request] Additional identifier
Nickname is good and all, no doubt, but its weak authentification protection. It could be added as the last param after message kind thus not disturbing the already existing scripts. It would easy the pressure on a lot of things and make quite a lot of them easier i believe ;)
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
07-10-2006 06:45 PM
Profile E-Mail PM Web Find Quote Report
noroom
Full Member
***

Avatar
www.noroom.tk

Posts: 107
Reputation: 4
Joined: Sep 2003
RE: [Feature Request] Additional identifier
It can't be done. Plus! itself doesn't know (with 100% certainty) where the message is coming from.

It was possible back in the day where there was a MSN Object API. Now all Plus! can do is guess.

[QUOTE=Scripting Documentation]Because Messenger Plus! analyses messages received only when they reach the chat window, it is not possible to determine exactly from which contact the message came from. However, several methods can be used to guess if the message was actually sent by the current user. For example, to determine whether or not the personalized status messages should be sent when a message is received, Messenger Plus! compares the time of the last ChatWndSendMessage event with the current time. If it is less than 1 second, the message is considered to come from the current user and the preciously recorded time is reset. Even if this method of analysis can seem too simplistic, it works in almost every scenario as it is extremely rare to receive a message sent by a contact between the time the "Send" button was pressed and the time the message of the current user was added to the window (as Messenger does not wait to receive a reply from the server before adding the message to the history control).

07-10-2006 07:37 PM
Profile E-Mail PM Find Quote Report
foaly
Senior Member
****

Avatar

Posts: 718
Reputation: 20
38 / Male / Flag
Joined: Jul 2006
RE: [Feature Request] Additional identifier
well if you can get the contact's name you should be able to find a contact with that name and return is e-mailadres...
so it must be possible..
07-10-2006 07:46 PM
Profile E-Mail PM Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: [Feature Request] Additional identifier
i remember patchou saying that he also has no reliable way of getting the persons email from their name, for the very same reason we cant loads of people could have the same name, and that he wont implement it because its unreliable. (edit: wow im slow (but still right :P), see norooms post above)

although if loads of people are going to make scripts which rely on retrieving email from name, then it would be more reliable if patchou were to implement it. this would at least provide a standard way of checking instead of every scripter using a different method.

This post was edited on 07-10-2006 at 07:48 PM by Eljay.
07-10-2006 07:47 PM
Profile PM Find Quote Report
noroom
Full Member
***

Avatar
www.noroom.tk

Posts: 107
Reputation: 4
Joined: Sep 2003
RE: [Feature Request] Additional identifier
What are you saying? Go through all the contacts in the contact list until one contact matches the nickname, and then return his email? What if more than one contact match the nickname? What if none does, because the user has deleted the contact from his list?

It can't be done without socket hooking, and that doesn't sound healthy, does it? :P
07-10-2006 08:43 PM
Profile E-Mail PM Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. RE: [Feature Request] Additional identifier
quote:
Originally posted by noroom
What if more than one contact match the nickname?
That is the single most important problem that we face. Volv was speaking of an idea .... tho it seemed complex, he is using it in his emailing script so im guessing it works :P
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
07-11-2006 07:39 AM
Profile E-Mail PM Web Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: [Feature Request] Additional identifier
quote:
Originally posted by noroom
What are you saying? Go through all the contacts in the contact list until one contact matches the nickname, and then return his email? What if more than one contact match the nickname? What if none does, because the user has deleted the contact from his list?
no just loop chatWnd.Contacts
[Image: dt2.0v2.png]      Happy Birthday, WDZ
07-11-2006 07:47 AM
Profile 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