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


---

# 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://docs.smartbotpro.io/scripts/conditions/condition-with-options.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.
