Slash Commands¶
clockwork intercepts typed slash commands before they reach the game. A registered clockwork command is handled and swallowed; every native EverQuest II command and every normal chat line falls through unmodified.
Commands come from two places, and the distinction matters: core commands are always available once the core is injected, while script commands exist only while the script that registered them is running.
Core¶
Always available.
/console
/cwconsole
- Toggle the clockwork overlay window.
/consoleand/cwconsoleare the same command, and both do exactly what the End key does.
/dex <name> <command>
/dga <command>
/dge <command>
/dgga <command>
/dgge <command>
/dgra <command>
/dgre <command>
/dgza <command>
/dgze <command>
/lua run <name> [args]
/lua stop <name|all>
/lua restart [name|all]
/lua list
- Start, stop, restart, and list Lua scripts. This is the entry point for everything in clockwork's scripting layer.
/quest_accept
- Accept this client's own currently-captured quest offer. Primarily a broadcast target so a whole group can accept the quest each of them was individually offered.
/upsell [on|block|off|allow]
Script-provided¶
Registered by a bundled Lua script, and available only while that script is
running. Start each one with /lua run <script> — the note at the top of each
page says which.
/aaexp <0-100>
/autocraft <recipe name> [count] [finish|quality|balanced]
/autocraft stop
/autocraft status
/autocraft mode <finish|quality|balanced>
/autocraft dump
- Persistent auto-craft daemon: give it a recipe name (read live from the open Recipe Book) and a count, and it clicks Begin, fires reaction arts every round, and reports the result — repeating for as many combines as you asked for, without you touching the crafting window again.
/autoloot <subcommand>
/lua run automend
- Auto-repair gear at a mender NPC. Polls for the Merchant window, switches to the Repair tab, presses Repair All, and closes.
/autorez [on | off]
- Automatically accept an incoming resurrection while you are dead. Provided by
the bundled
autorezscript — run/lua run autorezfirst.
/autotrade
- Automatically accept incoming trade windows from peers and transfer items.
/brokerprice scan
/brokerprice set <platinum>
- Resident broker consignment pricing tool.
scansearches the market for each of your unlocked consignments and undercuts the lowest competitor;setstamps a flat platinum price onto every unlisted consignment. Both need the broker window open — talk to a broker NPC first.
/chattime
- Toggle timestamp injection into EverQuest II's own chat window.
/craft start|stop|status|abilities|class|reload
- One-shot tradeskill crafting automation for a single recipe: fires reaction
arts each round until the requested count is combined. Launched with
watchinstead of a recipe, it becomes a recipe-ID capture tool with no crafting logic at all.
/cwcmd <command>
/dialogauto
- Auto-advance NPC conversation pages that have only a single reply option.
/dialogreply <option text>
/dialogreply status
/dialogreply clear
- Relay receiver that selects
a conversation or dialog reply option on this client, matched by
display text rather than index. The leader-side
relayclicks.luaobserves a human picking a reply and relays the text; each peer selects the option with the same text on its own window.
/discord status|test|on|off
- Report or control the outbound Discord webhook that announces loot to a channel. No relay bot is needed for this direction — just a webhook URL.
/discordinbox status|on|off|clear
- Report or control the inbound command relay: an external bot process writes
authorized Discord commands to
config/discord/inbox.jsonl, and this tails that file and runs each one througheq2.cmd.
/lua run dooropen [action prompt | probe]
- Auto-open nearby zone doors. Scans for door-like actors within range and interacts to open them, with auto-learn for new door types.
/gather <subcommand>
- Automated gathering — navigates to the nearest harvestable node, interacts with it until it despawns, then moves on to the next one. Supports all harvesting types: Gather, Mine, Chop, Fish, Trap, and Collect.
/grouphud status|far <n>|self [on|off]|cures [on|off]|casting [on|off]|sort [on|off]|peers|reset|save
- Tune the ImGui group-status overlay: name, level, HP%, power%, distance, cures, and casting for every group member, with an optional self row.
/gyonin pause|movepause|mode|melee|meleedir|follow|followclose|followturn|beacon|radius|assisthp|mainassist|chatecho|debug
- Control gyonin, the bundled combat-rotation automation: pause it, pick a
role, set the assist target and engagement radius. Run
/lua run gyoninfirst.
/inv list|equipped|find|actions|examine|scribe|use|read|equip|unequip|move|help
- Read your bags and worn gear, and fire item actions by name. Provided by the
bundled
inv_helperscript — run/lua run inv_helperfirst.
/maptravel <DestName>
/maptravel list
/maptravel status
- Commit a fast-travel map destination by its display name. Provided by the
bundled
maptravelscript — run/lua run maptravelfirst.
/memtrim
/nav route|mark|list|clear|go|loop|save|load|moveto|follow|followclose|flank|fwd|turn|beacon|tune|stop|status
- Record, save, and walk waypoint routes; follow a spawn; hold a flanking
position. Provided by the bundled
navscript — run/lua run navfirst.
/lua run navmap
- 2D navigation map overlay showing navmesh edges, actors, routes, and points of interest, filtered by floor height. Click to navigate.
# navpathfollow.lua
/navpath follow <Leader> [dist]
/navpath stop
/navpath status
# navpathtarget.lua
/navpath
/navpath target
/navpath stop
/navpath status
- Navmesh-driven pathing over
lib.navpath/ the Detour navmesh, registered by either of two standalone scripts under one command name:navpathfollow.luawalks toward a named leader actor,navpathtarget.luawalks to your currentTarget. Both fall back to a direct (non-mesh) move-to when no navmesh is loaded for the zone or pathing fails.
/nbg need <item>
/nbg greed <item>
/nbg decline <item>
/nbg clear <item>
/nbg rules
/nbg leader
/nbg dryrun
/nbg status
- Watches for Need-Before-Greed loot windows and automatically clicks Need,
Greed, or Decline per item based on configurable rules. Runs alongside
/autoloot, which only handles Free-for-All windows — this script leaves those alone and only acts on NBG-mode ones.
/qj <subcommand> [args]
/questaccept
- Automatically accept incoming quest offers.
/resettimer <zone_id>
/resetalltimers
- Relay receiver that resets a
zone instance's reuse-lockout timer — or every eligible zone's, via
/resetalltimers— through the client's internal command queue, then answers the resulting confirmation popup automatically.
/sellall [subcommand]
/settarget <id>|<name>
- Relay receiver that sets
this client's own
Targetto match a leader's, by GameWorld entity id with a name-based fallback. Fills a gap left byrelayclicks.lua's native click-replay, which opens a peer's Merchant/Journal/dialog window but does not set itsTarget— a script readingActor.Target()locally (e.g. a mender check) sees nothing selected even with the window open.
/travelto <destination text>
/travelto status
/travelto clear
- Relay receiver that commits a fast-travel map destination on this client by display label, against this client's own observed destination list. Nothing but the label text crosses the wire.
Adding your own¶
Any Lua script can register a command:
eq2.register_command("greet", function(args)
eq2.print("hello, " .. (args ~= "" and args or "world"))
end)
while true do eq2.delay(1000) end -- keep the script (and the command) alive
eq2.register_command returns false if the name is already taken. The command
is unregistered automatically when the script stops. See
Events and Binds.
Native EverQuest II commands¶
clockwork does not shadow or replace the game's own commands. Anything it
doesn't recognise is passed straight to the client, which is what makes
/dga /follow and eq2.cmd("/say hi") work.