The Skript book · Appendix C

Glossary

action — a step that does something: reply, send, assign, add tag, create task, wait, set, log, score it with ai, stop. The verbs of the language.

band — see heat.

block — the indented lines belonging to a rule, function, if, otherwise, or loop. Blocks are made by indentation alone.

chain — several actions joined on one line with and. Pure sequencing; the steps do not depend on each other.

channel — where a message travels: whatsapp, email, sms, instagram, webchat or slack. Part of the sentence, not a value.

check — skript check, the parse-only command. Catches structural errors without running anything; exits 1 on failure.

condition — the test inside an if or while: x is v, is above/below/at least N, contains "t", bare-name truthiness, or score is hot/warm/cold. Always atomic — no and/or inside one.

continuation string — the quoted line(s) indented beneath a reply, joined into its message. The only place a message may leave its own line.

demo event — the realistic stand-in data the simulator supplies for each event kind, overridable field-by-field with --data.

event — the thing that happened: a lead arrived, a form was submitted, a message came in, an invoice was paid, a deal was won — or any custom quoted key. Every rule begins with one.

field — a named piece of an event's data (name, budget, text). Fields and variables share one namespace.

function — a named block defined at top level with to <name>, called by writing its name as a sentence. No parameters, no return value; reads and writes the shared namespace.

heat — the band derived from score: hot (75+), warm (45–74), cold (below 45). Read with score is hot and friends.

interpolation — {name} inside a string, replaced with that name's value when the string is used. Unset names keep their braces, on purpose.

list — an ordered collection written as comma-separated values. Consumed with for each; grown with add … to.

namespace — the single pool of names a run can see: event fields, your variables, and (once scoring runs) score and heat.

rule — when <event> plus its block. The fundamental unit of a skript.

sandbox — the guardrails around every run: capped while loops (1,000), capped recursion (16), no network/filesystem/imports, isolated per-run state.

score — the 0–100 number produced by score it with ai. Simulated deterministically from signals locally; real AI in production. Pin it with --score.

script mode — what happens when a file has bare steps and no rules: they run top to bottom against a minimal stand-in event. The language's scratchpad.

signals — the facts the simulated scorer reads (phone, email, budget, source, intent words), listed in its trace line so scores explain themselves.

stop — the emergency brake: halts the entire run immediately, from anywhere. A decision, not an error.

trace — the step-by-step account every run produces: ● the event, ✓/✗ decisions, one line per action, ✔ the summary. Recorded in production too.

truthy — what a bare name asks in a condition: set, non-zero, non-empty, and not false.

unset-name rule — an unset name used as a value is just its own word; an unknown step is an error. Values flow, verbs stop.

variable — a named container made with set, changed with set/increase/decrease/add … to, visible in every trace line that touches it.