# Chat message Command

{% embed url="<https://youtu.be/3APSwGQC4nc>" %}

## Creation

To create an action command, find (or create) the *GameName/Resources/GameName/ChatCommand* folder in the project tab and right click.  Choose *Create > AnyRPG > Chat Commands > Chat Message Command*.

## Properties

| Name         | Description                                 |
| ------------ | ------------------------------------------- |
| Message Type | <p>One of:<br>Private<br>Group<br>Guild</p> |

## Examples

| Command                         | Effect                                             |
| ------------------------------- | -------------------------------------------------- |
| /private "Player Name" hi there | Sends the message "hi there" to "**Player Name**". |
| /group hi there                 | Sends the message "hi there" to the current group. |
| /guild hi there                 | Sends the message "hi there" to the current guild. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.anyrpg.org/scriptable-objects/chat-commands/chat-message-command.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
