MyChat Scripts Engine: mConvertMsgToPlainText
"For developers", "Server scripts", "Functions description", "Messages", "mConvertMsgToPlainText".
Converting message text to plain text with no tags and special characters. Usually used in function events when receiving messages.
Syntax
function mConvertMsgToPlainText(sMsg: string; iMsgType: integer): string;
Parameters and return values
Parameter |
Type |
Value |
sMsg |
string |
message body; |
iMsgType |
integer |
message type. |
Function result
Plain text string with no markup, tags and special characters.