SendMessageToAllDMs(string)

Sends a message to all Dungeon Masters on server.

void SendMessageToAllDMs(
    string szMessage
);

Parameters

szMessage

Message to be sent to all DMs logged into server.


Description

Sends szMessage to all the Dungeon Masters currently on the server.



Remarks

Send a 'Shout' type chat message (sMessage) to all DMs. Messages appear as blue text prefixed by SERVER: (in purple)


Known Bugs

Messages do not display in 'DM Messages' chat windows.


Version

1.30

Example

// sample debug call, covers many testing bases:
void debug( string sMessage ) {
  SendMessageToPC( GetFirstPC(), sMessage );
  SendMessageToAllDMs( sMessage );
  PrintString( sMessage );
}

See Also

functions: PrintString | SendMessageToPC
categories: Server Functions | String Functions


 author: Iskander Merriman, editor: Lilac Soul, additional contributor(s): Lilac Soul