# Scripts: write, organize and use them

_Library · 3 min read · Updated 2026-10-21 · https://lanachat.ai/guides/scripts/_

A script is a sequence of messages and media the AI sends to sell, step by step. Open **Scripts** in the Studio group of the sidebar.

## The list

1. Pick the creator in the selector at the top left. Scripts belong to one creator, and the page remembers the last one you opened.
2. Scripts are grouped in **folders**, each with its own table. Press **New folder** to add one; the **…** menu of a folder renames or deletes it. Deleting a folder keeps its scripts, they move to **No folder**.
3. Use **Filter by name** to find a script, **New script** to start one, or **Import script** to load a JSON export (several scripts at once are fine). Imported scripts land in **No folder**, active, never marked first, and available to all accounts.
4. In each row, the **Active** switch decides whether the script can be used, and the ★ marks the **first script**: the one a new fan receives first. Only one script per creator can be first. Starring another one moves the star, and pressing it again clears it.
5. The **…** menu of a row has Rename, Duplicate, Move to folder and Delete. A duplicate is never marked first.

## Write a script

1. Click a row to open the editor. **‹ Scripts** at the top brings you back, and the **…** menu and the folder selector sit on the same line.
2. Edit the script name in place, then write the **Script goal** (what the sequence should achieve).
3. Write the first step: a **Step name**, the message or caption, and the delay before it is sent (Immediately, After 3 s, After 10 s, After 1 min, After 10 min, After 1 h or After 24 h).
4. Press **+ Add from Vault** in a step to attach media. It opens the same Vault dialog used by Message+: browse folders, search, filter All, Photos, Videos or Voice, and tick several items. Items already used in the script are flagged.
5. Press `Ctrl` + `Enter` (`⌘` + `Enter` on Mac) to add the next step.

## Set the price of a step

**Unlock price** applies to the whole step:

- **Vault price**: each item keeps the price set in the Vault.
- **Free**.
- **Paid**: one price in Stars (1 to 25,000) for everything in the step.

## Telegram accounts

The **Telegram accounts** card in the editor chooses who can send the script:

- **All accounts**: every Telegram account linked to this creator (the default).
- **Only these**: tick at least one account. New accounts are not added automatically.

## Check before it goes out

Switch from **Edit** to **Preview** to see "What the fan receives" as chat bubbles, with the delays applied.

The page warns you, without blocking, when something looks wrong: an empty message, a paid step with no caption ("say what the fan unlocks"), more than 10 media in a step, a caption over 1,024 characters, a paid voice note, or a media deleted from the Vault.

> Tip: A caption that tells the fan what he unlocks sells better than a bare price.

## Use it

Scripts don't run from this page. Attach them in the creator's AI Brain, on the **Scripts** tab, to decide when each one can start. See [Scripts vs. AI](https://lanachat.ai/guides/scripts-vs-ai/). To try a script safely, chat with her in the [Playground](https://lanachat.ai/guides/playground/).

Everything saves on its own as you type: the **Saved** chip at the bottom of the screen confirms it.

More on the [Scripts feature page](https://lanachat.ai/landing/features/scripts/).

## Related

- [Scripts vs. AI: when the bot follows a script](https://lanachat.ai/guides/scripts-vs-ai/)
- [Vault: upload media, previews and folders](https://lanachat.ai/guides/vault/)
