# Conditional

### Description

A conditional command to run when a [StatusEffect](/status-effect-framework/1.6.0/type-specifics/classes/statuseffect.md) is applied. It can add or remove other [StatusEffects](/status-effect-framework/1.6.0/type-specifics/classes/statuseffect.md) depending on whether the condition is met.

### Properties

<table data-header-hidden data-full-width="false"><thead><tr><th width="224"></th><th></th></tr></thead><tbody><tr><td>searchable</td><td>The <a href="/pages/FzvWc4ygR9G3YZgoRwuJ">StatusEffectData</a> that is searched for in the target.</td></tr><tr><td>exists</td><td>The bool to check if the searchable exists or doesn't exist.</td></tr><tr><td>add</td><td>The bool to add or remove the configurable type.</td></tr><tr><td>configurable</td><td>The ConditionalConfigurable enum that selects how to remove.</td></tr><tr><td>data</td><td>The <a href="/pages/FzvWc4ygR9G3YZgoRwuJ">StatusEffectData</a> that can be added or removed.</td></tr><tr><td>comparableName</td><td>The <a href="/pages/02bLxywPwHRLDlT27aUv">ComparableName</a> that can be removed.</td></tr><tr><td>group</td><td>The <a href="/pages/yHh71i6DLa292qCBRnk1">StatusEffectGroup</a> that can be removed.</td></tr><tr><td>timing</td><td>The ConditionalTiming enum that determines what kind of timing should be applied to the added <a href="/pages/OpUFQnv9JKaTU0cxnlHw">StatusEffect</a>.</td></tr><tr><td>duration</td><td>If Duration is selected in the ConditionalTiming enum this float value will be used.</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://maraudical.gitbook.io/status-effect-framework/1.6.0/type-specifics/classes/conditional.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.
