DevMSN+

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

Messenger Plus! Live - Scripting Documentation

Objects Reference - MsgPlus

MsgPlus::RemoveFormatCodes

The MsgPlus::RemoveFormatCodes function removes Messenger Plus! Live formatting attributes from a string.

溴>


Messenger Plus! Live -脚本文件



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


该msgplus : : removeformatcodes功能删除Messenger Plus!
活格式属性从一个字符串。

该msgplus : : removeformatcodes功能删除Messenger Plus!
活格式属性从一个字符串。

Syntax

[string] RemoveFormatCodes(
    [string] Text
);

Parameters

Text
[string] Text to filter.

Return Value

A string containing the "cleaned" version of the text. If no format code was detected, the return value is identical to the Text parameter.

一个字符串包含“清洗”文本。如果没有格式
代码检测,返回值是相同的
文本参数。

一个字符串包含“清洗”文本。如果没有格式
代码检测,返回值是相同的
文本参数。

This function typically fails for the following reason:

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

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

  • The MsgPlus object refers to a window that has been destroyed.

Remarks

Through out its existence, Messenger Plus! came up with three different sets of control codes (each born from a specific necessity):

通过了它的存在,Messenger Plus!想出了三
套不同的控制码(每出生,从一个具体的必要性) :

通过了它的存在,Messenger Plus!想出了三
套不同的控制码(每出生,从一个具体的必要性) :

  • IRC codes. These are control characters using special ASCII values. They were modeled on mIRC.
  • IRC codes for contact names. Derived from IRC codes, these codes were added to bypass new filters set for contact names on the Messenger servers.
  • BBCode. These tags resemble the way formatting is added in HTML documents. They were modeled on phpBB.

Because of the list of tags and their possible combinations would be pretty long and because new control codes may be added in the future, it is recommended that you use this function to filter out every possible code from the strings your script manipulates.

因为名单上的标签和他们可能的组合将是相当
长期以来,由于新的控制码,可能会增加在未来的日子,这是建议
您使用此功能,过滤掉一切可能的代码从字符串
您的脚本操纵。

Function Information

Object MsgPlus
Availability Messenger Plus! Live 4.00

See Also

MsgPlus Object.

msgplus对象。

  Sponsor

  Links

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