# Scripts vs. AI: when the bot follows a script

_AI Brain · 2 min read · Updated 2026-10-08 · https://lanachat.ai/guides/scripts-vs-ai/_

The AI either writes its own messages or sends the steps of a script. Knowing which one happens, and when, helps you set her up.

## The creator's response mode

On the creator's **Setup** tab, **AI mode → Response mode** decides the base behaviour:

- **Auto**: the AI writes its own replies from her profile and starts your scripts when it is time to sell.
- **Scripted**: she sends the messages you saved, in order.

## When a script starts

In the AI Brain, the **Scripts** tab → **Schedule & selection** controls each script:

- **Enable this script** and **Available to start**: Anytime, Daytime, Night or a custom schedule, in the creator's time zone.
- **Default priority** (0 to 100): when several scripts could start, the higher priority wins.
- **Smart script picker**: keywords from the fan that choose a script. Keywords take precedence over priority.
- **Return to this script**: if the fan drifts away, she can steer back with a return opener. It never restarts the script.

## While a script runs

- Its text is sent as you wrote it. The Telegram account's translation setting still applies.
- Prices come from the step (Vault price, Free or Paid).
- If the fan objects, the **Objections** tab answers. It only writes a free reply when you chose **AI response** as the fallback.
- Your refusal and payment rules always apply, whatever the **Conversation** mode.

> Note: Scripts are written in **Scripts** (Studio group of the sidebar) and attached in the AI Brain. See [Scripts](https://lanachat.ai/guides/scripts/).

## Related

- [Scripts: write, organize and use them](https://lanachat.ai/guides/scripts/)
- [Sales phases (discovery → closing)](https://lanachat.ai/guides/sales-phases/)
