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

## Properties

| Name         | Description                                                    |
| ------------ | -------------------------------------------------------------- |
| Command Type | <p>One of:<br>Invite<br>Kick<br>Leave<br>Promote<br>Demote</p> |

## Examples

| Command              | Effect                                                                                                 |
| -------------------- | ------------------------------------------------------------------------------------------------------ |
| /ginvite PlayerName  | Invite PlayerName to the guild.                                                                        |
| /gkick PlayerName    | Remove PlayerName from the guild.                                                                      |
| /gleave              | Leave the guild.                                                                                       |
| /gpromote PlayerName | Promote PlayerName to assistant or leader depending on whether they are currently member or assistant. |
| /gdemote PlayerName  | Demote PlayerName to member.                                                                           |


---

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