Binds
Binds
Binds let you assign keys to commands in CIT, and they can also be changed through the `MTA` Binds tab.
- TOC**
Overview
CIT has 2 main bind systems:
- CIT command binds, which use `/bind`
- `MTA` key bindings, which are changed from the `Binds` tab in settings
CIT Command Binds
CIT command binds let you attach a command to a key.
Use:
- `/bind <key> <command>`
This makes the command run directly when you press that key.
Chatbox Binds
You can also make a key open the chatbox with a command already prepared.
Use:
- `/bind <key> chatbox <command>`
This does not send the message right away. It opens the chatbox with the command ready to type.
= Example
Example chatbox bind:
- `/bind i chatbox gc`
This opens Group Chat on `I`.
Direct Message Binds
You can also bind a key to instantly send a full message.
Example:
- `/bind 5 gc Hello!`
This sends that exact Group Chat message when you press `5`.
Common Chatbox Shortcuts
Common chatbox shortcuts include:
- `gc`
- `sc`
- `uc`
- `main`
- `sup`
How To Check a Bind
To check what is bound to a key, use:
- `/binds <key>`
How To Remove Binds
To remove one bind from a key, use:
- `/unbind <key> <command>`
To remove all binds from a key, use:
- `/unbind <key>`
MTA Binds Tab
The `Binds` tab in `MTA` settings is where you change keyboard, mouse, and controller bindings for `MTA` actions.
Key and Alt. Key
In the `MTA` `Binds` tab:
- `Key` is the main bind for an action
- `Alt. Key` columns are additional keys for the same action
You can bind more than one key to the same action there.
Load defaults
In the `MTA` `Binds` tab, `Load defaults` resets the bind list to the default `MTA` key bindings.
Important Notes
- `/bind` is for CIT command binds.
- `/bind <key> chatbox <command>` opens the chatbox with a command ready.
- `/binds <key>` checks the binds on a key.
- `/unbind <key> <command>` removes one bind.
- `/unbind <key>` removes all binds on a key.
- `MTA` also has its own `Binds` tab for normal action keys.