In a Decal (bridge-mode) client the engine only forwards a fixed list of
chat-bar commands to plugins (/rc /ra /rv /rn /rnav /lua), so a script's
game.RegisterCommand("/demo") never ran there. When the /lua subcommand is
not a built-in verb, try it as a script command via the existing queue, so
/lua demo status runs the /demo handler once with args "status". Usage text
is shown only when no script owns the name, and lists the registered
commands. Built-in verbs always win. Docs: RegisterCommand in
rynthlua.d.lua.
- "/lua /demo status" works too: one leading slash on the subcommand is
stripped, and the usage lists names without the slash, the form the
fallback takes ("/lua demo").
- A script command named like a built-in verb (list, exec, start, ...) can
never be reached through /lua, so the usage summary leaves it out. One
BuiltInLuaVerbs set gates the fallback and filters the summary.
Tests (CompatTests luacmd.lua): plain and slash forms, case, spacing and
quotes, unknown command usage, summary form and filtering, a script /exec
not run by /lua exec, stopped owner gives usage, none-registered branch.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>