Jump to content

Binds: Difference between revisions

From CIT Wiki
Created page with "= 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..."
 
m 1 revision imported
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:


Binds let you assign keys to commands in CIT, and they can also be changed through the `MTA` Binds tab.
Binds let you assign keys to commands in CIT, and they can also be changed through the `MTA` Binds tab.
**TOC**


== Overview ==
== Overview ==
Line 10: Line 8:


* CIT command binds, which use `/bind`
* CIT command binds, which use `/bind`
* `MTA` [[Key Bindings|key bindings]], which are changed from the `Binds` tab in settings
* `MTA` [[Key Binds|key bindings]], which are changed from the `Binds` tab in [[settings]]


== CIT Command Binds ==
== CIT Command Binds ==
Line 59: Line 57:
* `main`
* `main`
* `sup`  
* `sup`  
* `fmsg`
* `locf`


== How To Check a Bind ==
== How To Check a Bind ==
Line 76: Line 76:
* `/unbind <key>`  
* `/unbind <key>`  


== CIT Settings Binds Tab ==
CIT also has a `Binds` tab in [[CIT Settings]] for CIT script binds.
That tab supports:
* primary key binds
* secondary key binds
* `Key 1`
* `Key 2`
Bind editing details:
* double click a bind with `LMB` to set `Key 1`
* double click a bind with `RMB` to set `Key 2`
* the tab shows `Key 2` when an alternative key is set
* if both primary and secondary binds are the same, they fall back to `Key 1`
== MTA Binds Tab ==
== MTA Binds Tab ==


Line 91: Line 108:
=== Load defaults ===
=== Load defaults ===


In the `MTA` `Binds` tab, `Load defaults` resets the bind list to the default `MTA` key bindings.  
In the `MTA` `Binds` tab, `Load defaults` resets the bind list to the default `MTA` [[Key Binds|key bindings]].  


== Important Notes ==
== Important Notes ==
Line 104: Line 121:
== Related Topics ==
== Related Topics ==


* [[Commands]]
* [[Chat Commands]]
* [[MTA Settings]]
* [[MTA Settings]]

Latest revision as of 07:10, 18 April 2026

Binds

Binds let you assign keys to commands in CIT, and they can also be changed through the `MTA` Binds tab.

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`
  • `fmsg`
  • `locf`

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>`

CIT Settings Binds Tab

CIT also has a `Binds` tab in CIT Settings for CIT script binds.

That tab supports:

  • primary key binds
  • secondary key binds
  • `Key 1`
  • `Key 2`

Bind editing details:

  • double click a bind with `LMB` to set `Key 1`
  • double click a bind with `RMB` to set `Key 2`
  • the tab shows `Key 2` when an alternative key is set
  • if both primary and secondary binds are the same, they fall back to `Key 1`

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.

Related Topics