Autocomplete
The web editor provides context-aware autocomplete that activates automatically or by pressing Tab. Suggestions are based on your current position in the script.
Commandsβ
When you type << inside the node body, the editor suggests all available commands:
<<
The autocomplete list includes:
| Command | Description |
|---|---|
wait | Pause dialogue for N seconds |
typing | Show "typing..." status for N seconds |
upload_photo | Show "sending photo..." status for N seconds |
record_voice | Show "recording voice..." status for N seconds |
record_video_note | Show "recording video..." status for N seconds |
reaction | Set reaction emoji on the message |
if | Start conditional block |
elseif | Alternative condition |
else | Fallback branch |
endif | End conditional block |
jump | Jump to another node |
set | Set variable value |
declare | Declare variable with initial value |
payment | Charge user T-Points |
Example:
<<w
Shows suggestions starting with "w" β select wait:
<<wait 2>>
Node Namesβ
After typing <<jump , the editor suggests all node names defined in your script:
<<jump M
Shows: Main_Menu, Mission_1, Mission_2, etc.
Variablesβ
Typing $ anywhere in the script triggers variable autocomplete. The editor lists all variables declared or used in the script.
In commands:
<<set $
Shows: $score, $name, $health, etc.
In conditions:
<<if $
Shows all known variables.
Condition Operatorsβ
Inside <<if>> and <<elseif>> blocks, the editor suggests logical operators and values:
<<if $health > 50 a
Shows: and, or
Available suggestions:
| Keyword | Description |
|---|---|
and | Both conditions must be true |
or | At least one must be true |
xor | Exactly one must be true |
not | Negates condition |
true | Boolean true |
false | Boolean false |
Tagsβ
When you type [ inside a message, the editor suggests all available tags:
This is [
Suggestions include:
- Self-closing tags:
br/,cl/,usd/ - Formatting:
b,i,u,s,ms,spoiler - Closing:
/b,/i,/u,/s,/ms,/spoiler,/(close all) - Links:
link=,/link - Media:
photo=,video=,video_note=,voice=
Header Parametersβ
In the node header (before ---), the editor suggests all available parameters:
title: My_Node
Start a new line and type to see suggestions:
| Parameter | Description |
|---|---|
title: | Node name (required) |
is_entry_point: | Makes this node the story start point |
checkpoint_name: | Save point name for users |
reaction: | Default reaction emoji for the node |
wait: | Delay before each message (seconds) |
time_for_status: | Typing status duration (seconds) |
start_on_command: | Telegram command that triggers this node |
Speaker Namesβ
On an empty line inside a node body, the editor suggests previously used speaker names. Select a speaker to insert Name: with a colon and space.
Example:
You previously wrote Anna: Hello!. Now on a new line, the editor suggests:
Anna:
Select it to continue writing dialogue for that character.
Accepting Suggestionsβ
- Tab β accept the selected suggestion
- Enter β accept the selected suggestion
- Escape β dismiss the autocomplete dropdown
- Start typing to filter suggestions