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

# Conditions

{% hint style="info" %}
In Smartbot Pro, you can configure under what conditions this or that script chain will work. You can check what message the user wrote, whether he is in a certain list, what are the values of his variables.&#x20;
{% endhint %}

Conditions are an important element of the bot's work. With conditions, you can branch out the bot's execution logic. According to the conditions, the bot finds a suitable answer or chain to run.

{% content-ref url="/pages/lk17rWVyxFrnQcH4JxmY" %}
[Condition](/scripts/conditions/condition.md)
{% endcontent-ref %}

{% content-ref url="/pages/qRqNSxx63celRGEd6Zro" %}
[Condition with options](/scripts/conditions/condition-with-options.md)
{% endcontent-ref %}

{% content-ref url="/pages/JWT2H96SGAYDyfXUYrAx" %}
[Conditions of VKontakte](/scripts/conditions/conditions-of-vkontakte.md)
{% endcontent-ref %}
