> 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/script-events.md).

# 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="/pages/aNLbFPznLCk2ZdUj9B0H" %}
[Message from user](/scripts/script-events/message-from-user.md)
{% endcontent-ref %}

{% content-ref url="/pages/37ZECzlfYaapDk1jzOny" %}
[No appropriate script](/scripts/script-events/no-appropriate-script.md)
{% endcontent-ref %}

{% content-ref url="/pages/wWtw4c8qvPDX2Jy9bjGn" %}
[First message](/scripts/script-events/first-message.md)
{% endcontent-ref %}

{% content-ref url="/pages/1RUUkv4EBCznm4UQKIsN" %}
[VK Events](/scripts/script-events/vk-events.md)
{% endcontent-ref %}

{% content-ref url="/pages/DKOcK4CReXU2Z3UeKPZO" %}
[Webhook](/scripts/script-events/webhook.md)
{% endcontent-ref %}
