quote:
Originally posted by ramonliu
1. if content has emotions, encode then send to contact, after decode, only see the text, no emotions, no matter just only ""
This is intended behavior and there's nothing you can do about it. Straight from the scripting documentation:
quote:
OnEvent_ChatWndReceiveMessage - Return value
A string containing the message to be displayed in the chat window instead of Message. If you do not want to modify the message, simply return Message without changing it. The new string will be parsed for possible format codes. It is important to remember that the new message cannot be longer than the original one (use Message.length) and will be cut if necessary. Also, Messenger will not re-parse the message for emoticons codes.
Basically, if an emoticon already appeared in the message, it is preserved. If another emoticon is introduced, it won't appear in the message - which is most likely what happens when decrypting an encoded message.