broadcast

From RPTools Wiki
Revision as of 18:15, 12 August 2011 by JML (talk | contribs) (Adding to Miscellaneous Function category)
Jump to navigation Jump to search

broadcast() Function

 Note: This function can only be used in a Trusted Macro

Introduced in version 1.3b77

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
 This article needs: Examples

This function lets send you a message directly to the chat area of another/all connected maptool clients. It does not display the senders name or token image in front of the message.

It lets send you a message either to all or a list of players - use the player names or the keyword "gm". As delimiter you can specify either a string list separator character or "json" if you specify the target list as json array.

Usage

 broadcast(message, [targets], [delimiter])