Nop (Slash Command)

From Unofficial Homecoming Wiki
Revision as of 00:13, 26 October 2024 by BlackSpectre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Slash Command

/nop  

Used to bind a keyboard key or button to do nothing.

A "no operation" command, or "nop" command, is necessary to make a key do nothing because of the way the keybinding system works. Nearly all keyboard keys start with a default keybinding that can not be deleted or overwritten. The /unbind command merely resets the key to its default keybinding. So if a player wishes for a key (that has a default bind on it) to do nothing, they must bind a custom keybind onto that key using a slash command that does nothing... /nop.

  • "Nop" is an abbreviation for "no operation"
  • Instead of /nop, some players bind a key to double quotes ("") or double quotes with a space in-between (" "). However, according to the devs binding /nop to a key is the preferred method to make a key do nothing as it has zero chance to generate errors.


Example

/bind H nop