Skip to content

/cwcmd

Script-provided

Registered by cwcmd. Start it with /lua run cwcmd.

Syntax

/cwcmd <command>

Description

Push a raw string onto the game's own internal command queue.

Options

  • <command> — The whole rest of the line, trimmed of surrounding whitespace and passed verbatim to eq2.cmdqueue(). An empty line prints a usage message and does nothing.

This goes through cmdQueuePush, not RunInputLine's typed-command parser — a different, lower-level channel from what eq2.cmd/eq2.cmdf or a normal typed slash command use. It reaches internal-only verbs RunInputLine has no handler for. See eq2.cmdqueue() for the full command-queue writeup, including the read-side eq2.on_cmdqueue() observer.

Examples

/cwcmd some_internal_verb

See also