Actions

Keybinds

From Iron Realms Nexus Client Documentation

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.

The basic usage of keybindings is similar to that of aliases or triggers. It can be used in conjunction with variables and they can be assigned to groups.

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 Settings icon.jpg in the lower right part of your main game screen

Step 1. Open the settings page and click the 'Reflexes' tab.

To create a new keybind, open your settings window by clicking on the gear icon Settings icon.jpg in the lower right part of your game screen. This will popup a new window in your brower.

In the settings window, click on the 'Reflexes' tab as shown in the image below.

Setting window displaying the reflexes tab.

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.

Example of creating a new keybind.

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.

This is a blank keybind. It will not do anything until you add a key shortcut and an action to do when that key or keys are pressed.

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.

Key-shortcut.png

When the 'Press the desired key combination...' appears press the keys you want to assign.

Key-combination.png

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.

Key-assigned.png

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.

Keybind-sample.png

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.

Simplified Scripting

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.

Advanced Scripting

There are two main advanced scripting options. You can Call function or you can Execute script. Both options allow for the use of javascript. You can learn more and functions here and more about javascript here.