Send a Moderator message to the current zone, the current room or a specific user in the current room.
In order to send these kind of messages, the user must have Moderator's privileges, which are set by SmartFoxServer when the user logs in (see the Login(String, String, String) method).
In order to send these kind of messages, the user must have Moderator's privileges, which are set by SmartFoxServer when the user logs in (see the Login(String, String, String) method).


- message (String)
- the text of the message.
- type (String)
- the type of message. The following constants can be passed: MODMSG_TO_USER, MODMSG_TO_ROOM and MODMSG_TO_ZONE, to send the message to a user, to the current room or to the entire current zone respectively.
- id (Int32)
- the id of the recipient room or user (ignored if the message is sent to the zone).

Sends:
SFSEvent..::.OnModeratorMessageDelegate
Since:
SmartFoxServer Pro v1.4.5
Version:
SmartFoxServer Basic / Pro

The following example shows how to send a Moderator message.
CopyC#

smartFox.SendModeratorMessage("Greetings from the Moderator", SmartFoxClient.MODMSG_TO_ROOM, smartFox.GetActiveRoom());
