List of Resources
See MKB through human eyesFilter by Category:
All Calculations Control Flow Equipped Armor Equipped Tool GUI Input Looking at Mod related Player Position Server Settings Time and Date Variables WorldHIT_WEST
VariableNo description.
Category: N/AHIT_WET
VariableNo description.
Category: N/AHITX
VariableX position of the block the Player is looking at
Category: Looking atHITY
VariableY position of the block the Player is looking at
Category: Looking atHITZ
VariableZ position of the block the Player is looking at
Category: Looking atHOSTILEVOLUME
VariableVolume level for Hostile Creatures
Category: SettingsHUNGER
VariableHunger points (each icon equals 2 points)
Category: PlayerIF
ActionThe actions following this action will only be executed when the `<condition>` evaluates to `true`. Needs to be closed with an `ENDIF`.
Category: Control FlowIFBEGINSWITH
ActionThe actions following this action will only be executed when the `<haystack>` starts with `<needle>`.
Category: Control FlowIFCONTAINS
ActionThe actions following this action will only be executed when the `<haystack>` contains the `<needle>`.
Category: Control FlowIFENDSWITH
ActionThe actions following this action will only be executed when the `<haystack>` ends with `<needle>`.
Category: Control FlowIFMATCHES
ActionThe 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 FlowIIF
ActionInline IF statement. Sends `<truetext>` as a chat message if condition succeeds, or sends `<falsetext>` if not.
Category: Control FlowIMPORT
ActionOverlay the specified configuration
Category: Mod relatedINC
ActionIncrements the specified counter by 1 or by the specified amount
Category: VariablesINDEXOF
ActionGets 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: VariablesINVENTORYDOWN
ActionScrolls the specified number of slots down through the hotbar
Category: GUIINVENTORYUP
ActionScrolls the specified number of slots up through the hotbar
Category: GUIINVSLOT
VariableSelected inventory slot
Category: GUIISRUNNING
ActionReturns 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 relatedITEM
VariableID of the equipped item
Category: Equipped ToolITEMCODE
VariableInternal code for the equipped item
Category: Equipped ToolITEMDAMAGE
VariableMaximum uses of the equipped item
Category: Equipped ToolITEMID
ActionGets the legacy (numeric) ID for the specified item
Category: CalculationsITEMIDDMG
VariableID and durability seperated by a colon of the equipped item
Category: Equipped Tool