# Friend 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 > Friend Command*.

## Properties

| Name         | Description                     |
| ------------ | ------------------------------- |
| Command Type | <p>One of:<br>Add<br>Remove</p> |

## Examples

| Command            | Effect                                   |
| ------------------ | ---------------------------------------- |
| /add PlayerName    | Sends a friend request to PlayerName.    |
| /remove PlayerName | Removes PlayerName from the friend list. |


---

# 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/friend-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.
