# 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.

![](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2FBKLzjZ3yzkMy8BKW4Wl5%2F12.png?alt=media\&token=35b3dc76-78e8-4ba6-b7d2-ddd79c20ab1f)

### 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.

![](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2FfLkKO5XpGcP6DFEBxcHy%2F15.png?alt=media\&token=b9b6d0fb-a84d-4315-b57c-cc7252681fae)

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](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2FgLavIBRZgbcb5gm0AHkh%2F16.png?alt=media\&token=446fa40e-6baa-4deb-84c1-a0bd77fd1148)

{% 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.
