Slash commands

/test

Run developer diagnostic branches.

Implemented · Source comparison: October 6, 2026.

Reviewed October 6, 2026. This page covers the root, registered subcommands and documented internal actions.

Registration permissions

Registration Handler Required status (local DB, Oct 6) Implementation
/test 84 10 Implemented

Run developer diagnostic branches.

Implementation: Implemented.

Syntax

/test <action> [arguments]

Arguments

Position is zero-based in sep, after a registered database subcommand has been removed. Internal action tokens remain at position 0. Angle brackets are required; square brackets are optional. Alternative forms may change field meanings.

Position Argument Accepted value / type Meaning
0 action integer or text Developer branch selector.
1 arguments branch dependent Varies by diagnostic branch.

Behavior and restrictions

  • This is a developer test harness with branch-specific effects, not a stable gameplay interface. The page includes the current branch selectors and source evidence.

Current argument/client/target checks (exact source excerpts; branch-dependent):

if (sep->IsSet(0)) {
else if (spawn->IsEntity())
if (spawn->IsNPC() && spawn->GetTotalHP() == 0) {
if (sep->IsSet(7)) {
if (sep->IsSet(2)) {
if (sep->IsNumber(2)) {
if (packet2 && sep->IsSet(7)) {
if (packet2 && sep->IsSet(3)) {
if (client->GetVersion() >= 546) {
else if (atoi(sep->arg[0]) == 16 && sep->IsNumber(1)) {
else if (atoi(sep->arg[0]) == 17 && sep->IsNumber(2)) {
if (sep->IsSet(3)) {
if (sep->IsSet(6)) {
if (sep->IsSet(1)) {
if (sep->IsSet(4)) {
if (packet2 && target && sep->IsSet(4)) {
else if (atoi(sep->arg[0]) == 28 && sep->IsNumber(1)) {
else if (atoi(sep->arg[0]) == 29 && sep->IsNumber(1)) {

Handler failure/help feedback (sent to the player or logged; % fields are formatted at runtime):

To complete this quest, I must do the following tasks:

Current numeric diagnostic branch selectors: 1, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40. Branch payloads vary; consult the preserved handler body before using this developer interface.

Permissions

Local database snapshot, October 6, 2026: /test requires status 10 (handler 84). Other worlds may configure different values.

The dispatcher checks the resolved registration status before invoking the handler. In-handler guild, group, ownership, client-version and target checks still apply.

Examples

The syntax forms above are the source-based invocation examples. Replace identifiers with values valid for your world; client callback fields are supplied by the game client.

Source evidence

Dispatch: COMMAND_TEST (handler 84).

  • WorldServer/Commands/Commands.cpp:6361 — COMMAND_TEST.
  • WorldServer/Commands/Commands.cpp:11371 — Command_Test.

Reviewed local revision: 9efddf962ffee075d0db2059d3914c36b0acbdf3; working-tree file checksums identify the exact reviewed bytes. Reviewed dispatch/helper evidence · Reconciliation report.

No upstream Markdown file exists for this registration in the retrieved revision.

Permissions are from a read-only snapshot of the configured local world database on October 6, 2026; deployed worlds may differ. Argument and behavior evidence comes from the reviewed WorldServer checkout. Examples were checked against source and were not executed in a live world.