# Script events

{% hint style="info" %}
**An event** is an external influence that the bot can respond to. For example, the receipt of a message from a subscriber.&#x20;
{% endhint %}

The bot always starts the script on some of the events. And chooses exactly the event that fits best. You can read more about this in [this article.](https://app.gitbook.com/o/-M0DMiuC0q5onO-ID_le/s/uRfd5lEYYH6D50QjzeAX/~/changes/996w3IhouLXkvHdJdNpB/scripts/basics/how-the-script-is-chosen)

{% content-ref url="script-events/message-from-user" %}
[message-from-user](https://docs.smartbotpro.io/scripts/script-events/message-from-user)
{% endcontent-ref %}

{% content-ref url="script-events/no-appropriate-script" %}
[no-appropriate-script](https://docs.smartbotpro.io/scripts/script-events/no-appropriate-script)
{% endcontent-ref %}

{% content-ref url="script-events/first-message" %}
[first-message](https://docs.smartbotpro.io/scripts/script-events/first-message)
{% endcontent-ref %}

{% content-ref url="script-events/vk-events" %}
[vk-events](https://docs.smartbotpro.io/scripts/script-events/vk-events)
{% endcontent-ref %}

{% content-ref url="script-events/webhook" %}
[webhook](https://docs.smartbotpro.io/scripts/script-events/webhook)
{% endcontent-ref %}
