onPrivateMessage()
Availability:
SmartFoxServer Lite / Basic / Pro
Usage:
smartFox.onPrivateMessage(msg <String>, sender <propList>)
Description:
The event is fired when a private chat message is received.
Parameters:
msg | the text message | |
sender | the user propertylist representing the client who sent the message |
Check the User Properties for more info on the objects returned.
Returns:
nothing
Example:
on onPrivateMessage me, msg, sender put("A private message from " & sender.name & " has arrived: " & msg) end
See also: