What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Help: Events] OnEvent_AddContact (Add Contact)?

Pages: (2): « First [ 1 ] 2 » Last »
[Help: Events] OnEvent_AddContact (Add Contact)?
Author: Message:
XP1
Junior Member
**

Avatar

Posts: 28
Joined: Nov 2004
O.P. [Help: Events] OnEvent_AddContact (Add Contact)?
Is there an OnEvent_AddContact I can use?

I'm trying to delete a contact automatically when a person adds someone in my email blacklist.

This post was edited on 04-20-2007 at 08:14 PM by XP1.
04-20-2007 08:08 PM
Profile E-Mail PM Web Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: [Help: Events] OnEvent_AddContact (Add Contact)?
No, there isn't.
04-20-2007 08:54 PM
Profile PM Find Quote Report
XP1
Junior Member
**

Avatar

Posts: 28
Joined: Nov 2004
O.P. RE: RE: [Help: Events] OnEvent_AddContact (Add Contact)?
quote:
Originally posted by deAd
No, there isn't.

Can it be manually created or circumvented with other code?
04-20-2007 08:57 PM
Profile E-Mail PM Web Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: RE: RE: [Help: Events] OnEvent_AddContact (Add Contact)?
quote:
Originally posted by XP1
quote:
Originally posted by deAd
No, there isn't.

Can it be manually created or circumvented with other code?

A contact status change event or signin event might occur when they first show online after you add them.

Unfortunately, you cannot delete contacts with Plus!.
04-20-2007 09:04 PM
Profile PM Find Quote Report
XP1
Junior Member
**

Avatar

Posts: 28
Joined: Nov 2004
O.P. RE: RE: RE: RE: [Help: Events] OnEvent_AddContact (Add Contact)?
quote:
Originally posted by deAd
quote:
Originally posted by XP1
quote:
Originally posted by deAd
No, there isn't.

Can it be manually created or circumvented with other code?

A contact status change event or signin event might occur when they first show online after you add them.

Unfortunately, you cannot delete contacts with Plus!.

Know (if) when this feature will be implemented or (if) I can get someone to build it into Messenger Live Plus! as a new feature?

I'm waiting for OnEvent_AddContact and OnEvent_DeleteContact. :)

Possible names include:
Add Contact:
OnEvent_AddContact
OnEvent_ContactAdd
OnEvent_ContactAdded
OnEvent_NewContact
OnEvent_ContactNew

Delete Contact:
OnEvent_DeleteContact
OnEvent_ContactDelete
OnEvent_ContactDeleted
OnEvent_RemoveContact
OnEvent_ContactRemove
OnEvent_ContactRemoved
04-20-2007 11:48 PM
Profile E-Mail PM Web Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: [Help: Events] OnEvent_AddContact (Add Contact)?
There isn't much use for either of those in most scripts and there are many other things that would be of more use.  I'm sorry to say but if your feature does get put in then i believe it will not be any time soon.
[Image: markee.png]
04-21-2007 12:27 AM
Profile PM Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
30 / Male / Flag
Joined: Nov 2006
Status: Away
RE: [Help: Events] OnEvent_AddContact (Add Contact)?
people might implement their own msn so it automatically adds them :sad:


it can also be used to destroy your contact list :cry:
[quote]
Ultimatess6
: What a noob mod
04-21-2007 04:41 AM
Profile PM Web Find Quote Report
XP1
Junior Member
**

Avatar

Posts: 28
Joined: Nov 2004
O.P. RE: RE: [Help: Events] OnEvent_AddContact (Add Contact)?
quote:
Originally posted by roflmao456
people might implement their own msn so it automatically adds them :sad:


it can also be used to destroy your contact list :cry:

I suppose contact lists could be destroyed if the delete contact feature was implemented, but I was specifically asking for the "OnEvent" of that happening, so contact lists aren't actually going to be destroyed.
04-30-2007 05:21 AM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [Help: Events] OnEvent_AddContact (Add Contact)?
This can be done using the Xniff ActiveXControl.

You need to listen for the RML packet

This is being sent from the Client to the Server
quote:
RML 24 67\r\n
<ml><d n="domain.com"><c n="username" l="1" t="1"/> </d></ml>

The server responds with:
quote:
RML 24 OK\r\n

Once you receive the last packet then the server has removed the contact from the list.

Adding of contacts is very similar.

This is being sent from the Client to the Server
quote:
ADL 29 67\r\n
<ml><d n="domain.com"><c n="username" l="1" t="1"/> </d></ml>

The server responds with:
quote:
ADL 29 OK\r\n

However this is more and I am not sure what its for:

This is being sent from the Client to the Server
quote:
FQY 30 61\r\n
<ml l="2"><d n="domain.com"><c n="username" l="1" t="1"/> </d></ml>

The server responds with:
quote:
ADL 30 56\r\n
<ml><d n="domain.com"><c n="username" l="1" t="1"/> </d></ml>

This post was edited on 04-30-2007 at 06:06 AM by matty.
04-30-2007 05:47 AM
Profile E-Mail PM Find Quote Report
XP1
Junior Member
**

Avatar

Posts: 28
Joined: Nov 2004
O.P. RE: RE: [Help: Events] OnEvent_AddContact (Add Contact)?
quote:
Originally posted by Matty
This can be done using the Xniff ActiveXControl.

You need to listen for the RML packet

This is being sent from the Client to the Server
quote:
RML 24 67\r\n
<ml><d n="domain.com"><c n="username" l="1" t="1"/> </d></ml>

The server responds with:
quote:
RML 24 OK\r\n

Once you receive the last packet then the server has removed the contact from the list.

I didn't capture any packets for adding so I am not sure about that one I don't really have time to do it.

"Warning: if your script uses this, it may become unstable/useless if MSN changes protocol ! So be very carefull!" - I don't know about that.

Do you think it's easier to get OnEvent_Add/Delete implemented?
04-30-2007 05:52 AM
Profile E-Mail PM Web 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