> For the complete documentation index, see [llms.txt](https://guide.phbot.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.phbot.org/phbot/conditions.md).

# Conditions

Conditions allow you to add custom functionality without the use of Python plugin; though they can be used together. These are separate from the "Training Conditions" and will execute whether the bot is started/stopped/tracing/stalling.

&#x20;

<figure><img src="https://2872462270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2m4okFXMkt87rLgVVbFZ%2Fuploads%2FsINi9qOrxqLSglP6fZdh%2Fconditions.png?alt=media&amp;token=e3ad5f5c-b238-4b6c-baea-f388b57f1a6d" alt=""><figcaption></figcaption></figure>

1. Select options from the `If` dropdown and click `Add`.
2. After you've added the conditions it is now time to add `Then` options. This is what the bot will do once your conditions are met.
   * You may select multiple `Then` options. The order you select them in is the order they will execute.
