strSub
NewJK / NewMod
Executes a command after replacing text surrounded by dollar signs with the value of that cvar. A doubled dollar sign emits one literal dollar sign.
At a glance
| Field | Value |
|---|---|
| Syntax | strSub <command...> |
| Cheat protected | No |
| Network scope | client-or-server: Engine code in both the client and the dedicated server; each uses its own value. |
| Category | Engine & diagnostics |
| Module | engine-shared |
| Renderer | All / not renderer-specific |
| Derivation | documented |
| Confidence | high |
| Added | 2022-04-20 in 1dd571383 (how to compare this against your build) |
| In-game xdocs | No |
| In-game menu | No |
Arguments and gating
Arguments: command.
Provenance
Origin: NewJK / NewMod
- TaystJK integration evidence:
1dd571383a0d - Attribution method:
introduction-commit-explicit-credit - Attribution confidence:
high - Notes: The exact registration’s introduction commit explicitly imports it from newjk; the identifier is absent from that project’s configured public snapshot.
Dated project introductions
Authored dates come from the exact registration’s first content commit, PR dates identify when work was proposed to each project, and integration dates come from each first-parent mainline. A project merging first does not override earlier upstream authorship or submission.
| Project | Authored | PR opened | Integrated | Commit | Relationship |
|---|---|---|---|---|---|
| TaystJK | 2022-04-03 |
— | 2022-04-20 |
1dd571383a0d |
Other project appearance |
| jaPRO | 2022-04-03 |
— | 2022-04-20 |
1dd571383a0d |
Other project appearance |
Evidence
- registration: codemp/qcommon/common.cpp:1425 (Cmd_AddCommand)
- handler: codemp/qcommon/common.cpp:433
Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.