> For the complete documentation index, see [llms.txt](https://temp-17.gitbook.io/trmenu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://temp-17.gitbook.io/trmenu/script/expressions.md).

# Expressions

TrMenu v2 provides a new writing method for expressions more user-friendly\
It doens't support custom expression at the moment\
Parameters are most of the time seperated by a `.`

## Example

```yaml
# Check if the player has both the permission test and 10 levels
hasPerm.test and hasLevel.10
```

## Meaning

* and = &&
  * The expression returns `true` only when both parts of the condition are met&#x20;
* or = ||
  * The expression returns `true` when at least one of both parts of the conditions are met
