I'm not quite sure what you mean by that... ?
ChatWnd is an object to reference the chat window itself
Origin is a string containing the display name of the suer sending the message
Message, is obvious I home
MessageKind is a numeric value From the scripting docs:
quote:
MSGKIND_UNKNOWN (0) - Unknown
MSGKIND_SAYS (1) - Text message typed by the user
MSGKIND_WINKS (2) - A wink being sent
MSGKIND_VOICECLIPS (3) - A voice clip being sent
MSGKIND_SEARCHING (4) - A search made with the "Search" button
MSGKIND_FIND (5) - The result of a search made with "Search"
MSGKIND_SAYSOFFLINE (6) - A text message sent while the current user was offline
I would recommend using the numeric constants instead of the associated names.
I recommend you read a bit more thoroughly through the documentation for OnEvent_ChatWndReceiveMessage