multicmd

Tags: dfhack

Command: multicmd

Run multiple DFHack commands.

This utility command allows you to specify multiple DFHack commands on a single line.

The string is split around the ; character(s), and all parts are run sequentially as independent dfhack commands. This is especially useful for hotkeys, where you only have one line to specify what the hotkey will do.

Usage

multicmd <command>; <command>[; <command> ...]

Example

multicmd :lua require('gui.dwarfmode').enterSidebarMode(df.ui_sidebar_mode.DesignateMine); locate-ore IRON; digv; digcircle 16