broadcast: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
m (Adding to Miscellaneous Function category)
Line 10: Line 10:


|usage= <source lang="mtmacro" line> broadcast(message, [targets], [delimiter]) </source>  }}
|usage= <source lang="mtmacro" line> broadcast(message, [targets], [delimiter]) </source>  }}
[[Category:Miscellaneous Function]]

Revision as of 18:15, 12 August 2011

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])