DevMSN+

酷酷的MSN插件,随心所欲MSN

Messenger Plus! Live - Scripting Documentation

Objects Reference - MsgPlus

MsgPlus::LogEvent

The MsgPlus::LogEvent function generates an event to be added in the Event Viewer of Messenger Plus! and the Event File if configured.

溴>


Messenger Plus! Live -脚本文件



物体的参考-m sgplus
msgplus : :的LogEvent


该msgplus : :的LogEvent函数生成一个事件来加以补充,在
事件查看器的Messenger加!和事件的文件,如果配置。

该msgplus : :的LogEvent函数生成一个事件来加以补充,在
事件查看器的Messenger加!和事件的文件,如果配置。

Syntax

LogEvent(
    [string] Origin,
    [string] Description,
    [enum] Icon
);

Parameters

Origin
[string] Origin of the event. Typically, this parameter should be set to the name of the script.
Description
[string] Description of the event. It is recommended to keep the text short, although no size limit is enforced.
Icon

[enum] Number specifying the icon to use in the Event Viewer for this event. Can be one of the following:

EVICON_ONLINE (0)
EVICON_OFFLINE (1)
EVICON_AWAY (2)
EVICON_BUSY (3)
EVICON_BLOCKED (4)
EVICON_PLUS (5)
EVICON_NAME (6)
EVICON_PSM (7)

EVICON_MEDIA (8)
EVICON_EMAIL (9)
EVICON_MUSIC (10)

evicon_online ( 0 )
evicon_offline ( 1 )
evicon_away ( 2 )
evicon_busy ( 3 )
evicon_blocked ( 4 )
evicon_plus ( 5 )
evicon_name ( 6 )
evicon_psm ( 7 )
evicon_media ( 8 )
evicon_email ( 9 )
evicon_music ( 10 )

evicon_online ( 0 )
evicon_offline ( 1 )
evicon_away ( 2 )
evicon_busy ( 3 )
evicon_blocked ( 4 )
evicon_plus ( 5 )
evicon_name ( 6 )
evicon_psm ( 7 )
evicon_media ( 8 )
evicon_email ( 9 )
evicon_music ( 10 )

Online Buddy Icon
Offline Buddy Icon
Away Buddy Icon
Busy Buddy Icon
Blocked Buddy Icon
Messenger Plus! Logo
Name Change Icon
Personal Message Change Icon
Media Change Icon
New Emails Icon
Music Change Icon

在线好友图标
离线好友图标
远离好友图标
繁忙的好友图标
阻止好友图标
Messenger Plus!标志
名称更改图标
个人讯息更改图标
媒体更改图标
新的电子邮件图标
音乐更改图标

Return Value

No value is returned by this function.

没有任何价值,是经由这个功能。

This function typically fails for the following reason:

这项功能通常失败,原因如下:

  • The number specified for Icon is not in the range of accepted values.

Remarks

Only meaningful events should be reported with this function. If you plan on having a lot of different notifications, it is considered good practice to create a configuration window to let the user filter the list of possible events.

只有有意义的活动,应当报与这个功能。如果您
计划,有很多不同的通知,被认为是良好的
实践创建配置
窗口,让用户过滤名单,可能的事件。

Messenger Plus! 4.23 and earlier: enumeration names are not available, numbers must be used instead.

Messenger Plus! 4.23及更早:枚举的名称不具备,
号码必须用。

Function Information

Object MsgPlus
Availability Messenger Plus! Live 4.00

See Also

MsgPlus Object.

msgplus对象。

  Sponsor

  Links

Scripts文档目录 脚本库 FAQ
copyright devmsn.com