\\ Shortcuts
The web editor supports a powerful shortcut system using the \\ prefix. Type \\ followed by the command name to quickly insert any command, media tag, or variable reference.
How It Worksβ
- Type
\\at the beginning of a line (or after indentation) - Start typing the name of the command
- Select from the autocomplete dropdown or press
Tabto accept
The \\ prefix and the typed text are replaced with the full command syntax.
Command Shortcutsβ
\\wait β Pauseβ
Inserts a pause in the dialogue.
\\wait
Result:
<<wait 2>>
\\typing β Typing Statusβ
Shows the "typing..." animation in the chat.
\\typing
Result:
<<typing 3>>
\\upload_photo β Upload Photo Statusβ
Shows the "sending photo..." status.
\\upload_photo
Result:
<<upload_photo 3>>
\\record_voice β Recording Voice Statusβ
Shows the "recording voice..." status.
\\record_voice
Result:
<<record_voice 3>>
\\record_video_note β Recording Video Note Statusβ
Shows the "recording video..." status.
\\record_video_note
Result:
<<record_video_note 3>>
\\reaction β Message Reactionβ
Sets a reaction emoji on the previous message.
\\reaction
Result:
<<reaction emoji>>
\\jump β Jump to Nodeβ
Jumps to another node in the story.
\\jump
Result:
<<jump NodeName>>
\\set β Set Variableβ
Sets a variable value.
\\set
Result:
<<set $var = value>>
\\declare β Declare Variableβ
Declares a new variable with an initial value.
\\declare
Result:
<<declare $var = value>>
\\payment β Paymentβ
Charges the user T-Points.
\\payment
Result:
<<payment 100, "marker">>
\\if β Conditional Blockβ
Inserts a complete if/endif block with the cursor positioned at the condition.
\\if
Result:
<<if >>
<<endif>>
\\else / \\elseif / \\endifβ
Insert the corresponding control flow commands:
\\else β <<else>>
\\elseif β <<elseif >>
\\endif β <<endif>>
Media Shortcutsβ
\\photo β Photo Messageβ
\\photo
Result:
[photo=file.jpg/]
\\video β Video Messageβ
\\video
Result:
[video=file.mp4/]
\\voice β Voice Messageβ
\\voice
Result:
[voice=file.ogg/]
\\video_note β Video Note (Circle)β
\\video_note
Result:
[video_note=file.mp4/]
Inline Variable Shortcutβ
When you type \\ inside a message line (not at the beginning), the editor offers to insert an inline variable reference. Select a variable from the list, and \\ is replaced with {$variable}.
Example:
You are typing a message:
Your score is \\
Select the variable $score from the dropdown, and the result is:
Your score is {$score}
Option Condition Shortcutβ
When you type \\ on an option line (a line starting with ->), the editor inserts a condition template <<if >> for conditional options.
Example:
-> Secret door \\
The \\ is replaced with:
-> Secret door <<if >>
The cursor is placed inside <<if >> so you can immediately type the condition.