Skip to main content

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:

CommandDescription
waitPause dialogue for N seconds
typingShow "typing..." status for N seconds
upload_photoShow "sending photo..." status for N seconds
record_voiceShow "recording voice..." status for N seconds
record_video_noteShow "recording video..." status for N seconds
reactionSet reaction emoji on the message
ifStart conditional block
elseifAlternative condition
elseFallback branch
endifEnd conditional block
jumpJump to another node
setSet variable value
declareDeclare variable with initial value
paymentCharge 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:

KeywordDescription
andBoth conditions must be true
orAt least one must be true
xorExactly one must be true
notNegates condition
trueBoolean true
falseBoolean 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:

ParameterDescription
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