Messenger Plus! Live - Scripting Documentation

The OnEvent_ContactMediaChange event is fired when a contact changes or removes its "current media".

Syntax

OnEvent_ContactMediaChange(
    [string] Email,
    [string] NewMedia
);

Parameters

Email
[string] Sign-in email of the contact changing its "current media".
NewMedia
[string] New "current media" text. For more information, see Contact::CurrentMedia.

Return Value

No value has to be returned by this event.

Remarks

This event is fired before the change gets recorded by Messenger Plus!. This means that the previous media text can be obtained in the event handler with Contact::CurrentMedia.

Event Information

Event Source Windows Live Messenger
Availability Messenger Plus! Live 4.00

See Also

Messenger Events, Contact::CurrentMedia.