Slash commands

/targetitem

Handle the client transmute-item selection/confirmation response.

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
/targetitem 315 200 Implemented

Handle the client transmute-item selection/confirmation response.

Implementation: Implemented.

Syntax

/targetitem <request_id> <item_id> [confirmation]

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 request_id integer Must match the current transmute request in the appropriate response form.
1 item_id integer Selected item or transmute confirmation request.
2 confirmation integer 1 confirms when the second identifier matches the current request.

Behavior and restrictions

The active handler performs the operation described above after the registration permission check.

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

if (!sep || sep->GetArgNumber() < 1 || !client->GetPlayer()) return;
if (!sep->IsNumber(0)) return;
if (!sep->IsNumber(1)) return;
if (!sep->IsSet(2)) return;
if (sep->IsNumber(2) && atoi(sep->arg[2]) == 1) {

Permissions

Local database snapshot, October 6, 2026: /targetitem requires status 200 (handler 315). 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_TARGETITEM (handler 315).

  • WorldServer/Commands/Commands.cpp:6381 — COMMAND_TARGETITEM.
  • WorldServer/Commands/Commands.cpp:13359 — Command_TargetItem.

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.