Add .leaders command to replay map records in T5 and T6

This commit is contained in:
2026-10-07 22:49:55 -04:00
parent dec51a7032
commit 58399d2191
6 changed files with 156 additions and 11 deletions
+4
View File
@@ -72,11 +72,15 @@ counter and health display. Typing either command again restarts that display ti
| `.afk` | Pause with protection |
| `.back` | Return from AFK |
| `.join` | Join mid-round (newcomers only) |
| `.leaders` | Show the map record again (leaderboard module required) |
AFK and Join register their commands during `init()` through
`tws_t6_common::register_help_command(command, description)`. If a module is
omitted, its commands are omitted from `.help`. Register new commands alongside
their module's initialization so the list stays current.
The enabled leaderboard module registers `.leaders`, which replays the latest
cached map record privately. Repeating it restarts the record from the first page;
help temporarily hides the record until its own display ends.
## Defaults, matching T5