> For the complete documentation index, see [llms.txt](https://bryangaming.gitbook.io/chatlab/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bryangaming.gitbook.io/chatlab/option-guide/commandconditions.md).

# Conditions of commands (Tutorial).

How to use the command conditions.

## Guide:

How to use the condition:

```
commands:
    command: condition
```

Example:

```
commands:
    msg: %pmoney% > 50
```

If player's money is mayor to 50.

## Condition:

| Condition | Description         |
| --------- | ------------------- |
| >         | If object is mayor. |
| <         | If object is minor. |
| =         | If object equals.   |

## Variables:

{% hint style="info" %}
You can use PlaceholderAPI variables.
{% endhint %}

| Variable  | Description                                    |
| --------- | ---------------------------------------------- |
| %pmoney%  | To watch the money of player (Requires Vault). |
| %phealth% | To watch the health of player.                 |
| %pfeed%   | To watch the feedpoints of player.             |
| %pname%   | To watch the name of player.                   |
