> 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/condition-with-options.md).

# Condition with options

{% hint style="info" %}
Conditions allow you to branch your script, guiding it, depending on the received messages and variables.&#x20;
{% endhint %}

For example, if a user came to VK, one chain can be launched for him, and another one for those who wrote in telegram.&#x20;

To add a branch, let's create a simple condition block on the screen. You can do this by right-clicking in an empty area of ​​the screen, or through the left auxiliary menu.

![](/files/70Dt1K1Wp6dOX7n4Iarj)

### Feature of multiple conditions

A multiple condition allows you to write many actions at once for different values ​​of the same variable. For example, you can make different answers to different greetings with just one block.

![](/files/T75ouIG6ovPmR4hVkfaJ)

Or do a multi-level check of the score counter.

![Thus, a person with 6 points will receive one message, and one who has, for example, 17 points, another](/files/rkFAdkymDlWcHEilqmRs)

{% hint style="info" %}
Multiple condition will save you screen space when you need to compare one variable (or message) with multiple values&#x20;
{% endhint %}

Now you know how to use simple and multiple conditions in Smartbot Pro.
