MapTool's chat system supports a number of "slash commands" (that is, commands preceded by a "/" character) that execute particular actions when typed directly into chat.
To use a chat command, you type directly into the chat window, using the following format:
where command is one of the commands in the table below, and argument is an appropriate argument (a dice roll, or a string of text, etc.) upon which the command acts.
NOTE: Remember, the commands shown below are always preceded by a forward slash (/) character.
NOTE: Slash commands will only work correctly in a MapTool macro if they are the first text in the macro. This is a result of macros simply being text that is "stored up" until it's pushed into the chat window where it's executed. However, many chat commands have related macro functions that can achieve the same effect within only a part of a chat message. Those functions are pointed out below where applicable.
|Built-in Alias (if any)
|Opens About window
|Add a new token state that can be set on tokens
|Create a command alias
|Clear the chat window
|Clear all aliases
|Change your chat text color. Color must be in hexadecimal format, e.g. /cc #ff0099
|Broadcast text to all connected players without revealing who sent it (GM-only command)
|Broadcast an emote to all connected players
|Broadcast an emote to all connected players, adding the possessive ('s) to the end of the token name.
|Send text to GM exclusively (see [g:])
|Go to location or go to token, e.g. /goto X,Y or /goto tokenname (see goto())
|Display a list of available commands
|Speak as if you were someone or something else (typically, speak as if you were a token)
|Load a file that contains aliases, one per line, with a : between the name and the value (just as if you were typing it in)
|Load all of the token states from a file
|Out-of-character chat (chat is enclosed in double parentheses)
|Reply to the last player to whisper to you
|Roll dice (using a Dice Expressions) and broadcast result to all players (see roll())
|Roll dice and broadcast result only to yourself and the GM
|Roll dice and show the result only to yourself
|Roll dice and show the result only to the GM (hiding the result from even yourself)
|Save all current aliases to a file
|Save the current set of token states to a file
|Broadcast a message to all connected players
|Send a message only to yourself (see [s:])
|Set the value of a Token Property (see setProperty())
|Set the value of a Token State (see setState())
|Run a table lookup, e.g. /tbl tablename value-to-lookup (see table())
|Turn Perlin noise on/off and get/set values.
|Run the given macro on the selected token (see [macro():])
|Say the given speech on the selected token (see getSpeech())
|Outputs MapTool version to chat.
|Send a message to a specific player (see [w():])