On this page
Binds & Macros
A bind puts a module on a key or mouse button. A macro puts a list of commands and chat messages on one.
Binds and macros only fire while no screen is open, so typing in chat or clicking through a menu never triggers them. Module binds also stay quiet while F3 is held.
Binding a module
In the GUI
Where a module's bind sits depends on Gui → ModuleOption:
| ModuleOption | Where the bind is |
|---|---|
Icons (default) |
Click the Tune button on the module (the 2nd small icon). Bind is the first row of the popup |
Bind |
In a box on the module row itself |
None, State |
Bind is the first row of the module's settings |
Left click the bind, then press the key you want. To use a mouse button, click it while the pointer is still on the bind. Esc clears the bind.
By command
.bind <module>
This opens a screen that waits for a key or mouse button. Esc clears the bind.
.reset binds removes every module bind and puts the GUI back on Right Shift and the HUD editor back on Backspace.
Hold binds
A module on a hold bind is on while the key is held and turns off when you let go.
Turn it on with Hold Bind in the Tune popup, or by right clicking the bind where it sits on the module row or in the module's settings. A hold bind is drawn with an underscore.
Bind settings
Some settings are binds themselves, such as Totem on Offhand or Key on KCA. They are set the same way: left click the setting, press a key or mouse button, Esc to clear. There is no command for them.
Where binds are saved
Module binds, hold binds and bind settings are all saved in your Binds config. See Configs.
The Binds HUD element lists your bound modules. .binds <module> hide keeps a module out of that list and .binds <module> show puts it back.
Macros
A macro is a named list of lines with a bind. Pressing the bind runs the lines from top to bottom.
Creating a macro
- Open the GUI and click the Macros module in the Client category.
- Click Add, type a name without spaces and press
Enter. - Type a line into the field at the bottom of the editor and press
Enterto add it. Do this for every line. - Click the box next to Bind: and press a key or mouse button.
- Click Close.
Each line in the editor has buttons to move it up, move it down, edit it and delete it. While you edit a line, Enter saves and Esc cancels. Pasting several lines into the bottom field with Ctrl+V adds each one as its own line.
The macro list shows every macro with its bind and whether it is active. The two icons on a macro edit and delete it.
What a line can be
| Line | What happens |
|---|---|
Starts with your command prefix, like .toggle Aura |
Runs as a Boze command |
Starts with / |
Sent as a server command |
| Anything else | Sent as a chat message |
.delay <ticks> |
Waits that many ticks before the next line (20 ticks is one second). Only exists inside macros |
Every line goes through Text Formatting before it runs, so it can hold live values in {...}.
Example:
/kit pvp
.delay 40
.toggle AutoArmor on
Putting a setting on a key
A toggle or mode setting has no bind of its own, but .set works as a macro line:
| Line | Effect |
|---|---|
.set <module> <setting> toggle |
Flips a toggle setting |
.set <module> <setting> switch <mode1> <mode2> |
Switches a mode setting between two modes |
.set <module> <setting> <value> |
Sets a value |
A setting inside a group is written as group.setting, for example .set hud layout.scale 1.2.
Turning a macro off
| Command | Effect |
|---|---|
.deactivate <macro> |
The macro ignores its bind until you activate it again |
.activate <macro> |
Turns it back on |
Running a macro without its bind
| Trigger | How |
|---|---|
| Joining a server | .servermacro link <macro> <server> [delay] runs the macro every time you join that server, delay seconds after you are in. unlink <server> removes the link, list shows them. .sm is an alias |
| A module | AutoRespawn and AutoDisconnect have a Macro setting that picks a macro for them to run |
Macros are saved in
macros.jsonin your Boze folder (.folderopens it), not in a config. Loading another config does not change them.