From Iron Realms Nexus Client Documentation
Revision as of 18:14, 15 September 2016 by Jeremy
Keybinds or Keybindings are a way to tag certain a certain key or combination of keys to execute actions.
A few brief examples of keybindings:
- Use the numberpad for movement (North, East, Southwest, etc).
- Press CTRL+H to drink a health vial.
- Press ALT+UP to Dash North or Glance North.
- Press F12 to yell for help when getting attacked.
How to Create a New Keybind
Keybindings are a reflex. They are created and managed from the Reflexes tab in the settings window. To open the settings window, click on the gear icon in the lower right part of your main game screen
Step 1. Open the settings page and click the 'Reflexes' tab.
In the settings window, click on the 'Reflexes' tab as shown in the image below.
Step 2. Click the 'Add' Button and select 'Add a Keybind'.
There are several different reflexes you can create. We want to create a keybind. In order to do this, click the 'Add' button located in the left pane and then click on 'Add a Keybind'. This will create a new, undefined keybind.
Should you want to delete a keybind, you can select the keybind from the list, and then click the 'Remove' button.
Step 3: Keybind Options
There are three main options for keybinds; Enabled, Key Shortcut and Actions.
Enabled This checkbox marks if the keybind is currently being used by the system. If unchecked, this keybind will not be used.
Key Shortcut is used to assign the key or keys for this keybind.
Actions is what will happen when press the key or combination of keys. Actions can be used to send commands to the game, set variables, turn on other reflexes, execute functions, and other things.
Key Shortcut Explained
All keybindings are tied to a single key, or combination of keys. For example, I could assign keybind to the F10 key, or a combination of ALT+F10 or even CTRL+ALT+F10. Almost any combination of keys can be used unless your browser is already using them for something else.
To assign a keybind, press the 'Select a shortcut' button.
When the 'Press the desired key combination...' appears press the keys you want to assign.
Once done, your keybind combination will be displayed. You can reassign it again at any time. In this example we have assigned it to a combination of the 'Ctrl' and letter 'h' keys.
Action Options Explained
Once you have assigned your key or keys, you can initiate a single action, or a series of multiple actions. Actions will fire in the order they are listed.
Above is a simple example of three separate actions that will occur when you press CTRL+H. In this case you will sip health, wait 3 seconds, and then say Ahhh, I feel better.
The Nexus client allows keybinds to use 13 different simplified scripting actions. In most cases instantly returning a command is the best option. However, the Nexus client will allow you to loop commands, use if statements, waits, and more.
All of these options, with full explanations and examples can be found here: simplified scripting.