# Condition Comparison

Available methods of comparing between variables and your expected result:

<table data-header-hidden data-full-width="true"><thead><tr><th width="161.33333333333331">Comparison</th><th width="244">Explanation</th><th>Example</th></tr></thead><tbody><tr><td>=</td><td>Equals to</td><td>%player world% <em>=</em> wor<strong>l</strong>d</td></tr><tr><td>&#x3C;</td><td>Less than</td><td>%player y% <em>&#x3C;</em> <strong>20</strong></td></tr><tr><td>&#x3C;=</td><td>Less than or equals to</td><td>%player y% <em>&#x3C;=</em> <strong>22</strong></td></tr><tr><td>></td><td>More than</td><td>%player y% <em>></em> <strong>20</strong></td></tr><tr><td>>=</td><td>More than or equals to</td><td>%player y% <em>>=</em> <strong>20</strong></td></tr><tr><td>contains</td><td>Variable contains string</td><td>%player world% <em>contains</em> <strong>nether</strong></td></tr><tr><td>matchesregex</td><td>Variable matches RegEx</td><td>%player name% <em>matchesregex</em> <code>^.\w+</code> (name starts with a dot)</td></tr></tbody></table>


---

# 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://wiki.advancedplugins.net/abilities/conditions/condition-comparison.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.
