List of Resources

See MKB through human eyes
Filter by Type:
All Action Event Iterator Parameter REPL Command Variable
Filter by Category:
All Calculations Control Flow Equipped Armor Equipped Tool GUI Input Looking at Mod related Player Position Server Settings Time and Date Variables World
HIT_WEST
Variable

No description.

Category: N/A
HIT_WET
Variable

No description.

Category: N/A
HITX
Variable

X position of the block the Player is looking at

Category: Looking at
HITY
Variable

Y position of the block the Player is looking at

Category: Looking at
HITZ
Variable

Z position of the block the Player is looking at

Category: Looking at
HOSTILEVOLUME
Variable

Volume level for Hostile Creatures

Category: Settings
HUNGER
Variable

Hunger points (each icon equals 2 points)

Category: Player
IF
Action

The actions following this action will only be executed when the `<condition>` evaluates to `true`. Needs to be closed with an `ENDIF`.

Category: Control Flow
IFBEGINSWITH
Action

The actions following this action will only be executed when the `<haystack>` starts with `<needle>`.

Category: Control Flow
IFCONTAINS
Action

The actions following this action will only be executed when the `<haystack>` contains the `<needle>`.

Category: Control Flow
IFENDSWITH
Action

The actions following this action will only be executed when the `<haystack>` ends with `<needle>`.

Category: Control Flow
IFMATCHES
Action

The actions following this action will only be executed when the `<subject>` matches the `<pattern>`. Optionally the whole match (or only a group specified by `[group]`) can be saved into `[&target]`.

Category: Control Flow
IIF
Action

Inline IF statement. Sends `<truetext>` as a chat message if condition succeeds, or sends `<falsetext>` if not.

Category: Control Flow
IMPORT
Action

Overlay the specified configuration

Category: Mod related
INC
Action

Increments the specified counter by 1 or by the specified amount

Category: Variables
INDEXOF
Action

Gets the first index of `<searchfor>` in `<array[]>` and stores it in `<#outvar>`. `[casesensitiv]` can be set to `true` which will cause the check to be case-sensitiv. (By default the search is case-insensitiv.) Returns the found index.

Category: Variables
INVENTORYDOWN
Action

Scrolls the specified number of slots down through the hotbar

Category: GUI
INVENTORYUP
Action

Scrolls the specified number of slots up through the hotbar

Category: GUI
INVSLOT
Variable

Selected inventory slot

Category: GUI
ISRUNNING
Action

Returns whether the specified macro is currently running. The ID of a script is displayed in the "Macro Activate" screen, and will be always the task name, when it was started through [EXEC](/docs/actions/exec), or the name of the key/button, if it was started with file includes ($$<file.txt>) or ran directly from a key/button.

Category: Mod related
ITEM
Variable

ID of the equipped item

Category: Equipped Tool
ITEMCODE
Variable

Internal code for the equipped item

Category: Equipped Tool
ITEMDAMAGE
Variable

Maximum uses of the equipped item

Category: Equipped Tool
ITEMID
Action

Gets the legacy (numeric) ID for the specified item

Category: Calculations
ITEMIDDMG
Variable

ID and durability seperated by a colon of the equipped item

Category: Equipped Tool