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
MACROTIME
Variable

The time the macro is already running in milliseconds.

Category: N/A
MAINHANDCOOLDOWN
Variable

MAINHANDCOOLDOWN

Category: Equipped Tool
MAINHANDDURABILITY
Variable

MAINHANDDURABILITY

Category: Equipped Tool
MAINHANDITEM
Variable

MAINHANDITEM

Category: Equipped Tool
MAINHANDITEMCODE
Variable

MAINHANDITEMCODE

Category: Equipped Tool
MAINHANDITEMDAMAGE
Variable

MAINHANDITEMDAMAGE

Category: Equipped Tool
MAINHANDITEMIDDMG
Variable

MAINHANDITEMIDDMG

Category: Equipped Tool
MAINHANDITEMNAME
Variable

MAINHANDITEMNAME

Category: Equipped Tool
MAINHANDSTACKSIZE
Variable

MAINHANDSTACKSIZE

Category: Equipped Tool
MATCH
Action

Runs a regular expression match on the `<subject>` and puts the result in `<&target>`. Returns the matched groups as an array. Alternative Syntax; ``` MATCH(<subject>,<pattern>,{&target1,&target2,&target3}) MATCH(<subject>,<pattern>,&target[]) ```

Category: Calculations
MAXPLAYERS
Variable

Amount of players the server can hold

Category: Server
~MIDDLEMOUSE
Variable

Whether the middle mouse button was pressed at the start of the script

Category: Input
MIDDLEMOUSE
Variable

Whether the middle mouse button is pressed

Category: Input
MODE
Variable

Gamemode of the player as a number. Can be one of the following values: * `0` for Survival * `1` for Creative * `2` for Adventure * `3` for Spectator

Category: Player
MODIFY
Action

Set new content for this chat message

Category: Mod related
MUSIC
Variable

Volume level for Music

Category: Settings
MUSIC
Action

Sets the music volume, specifying time causes the value to change smoothly. `<value>` has to be between `0` and `100`.

Category: Settings
NEUTRALVOLUME
Variable

Volume level for Friendly Creatures

Category: Settings
NEXT
Action

Completes a for or foreach loop

Category: Control Flow
OFFHANDCOOLDOWN
Variable

Offhand cooldown

Category: Equipped Tool
OFFHANDDURABILITY
Variable

Durability of the offhand item

Category: Equipped Tool
OFFHANDITEM
Variable

ID of the offhand item

Category: Equipped Tool
OFFHANDITEMCODE
Variable

Internal code for the offhand item

Category: Equipped Tool
OFFHANDITEMDAMAGE
Variable

Maximum uses of the offhand item

Category: Equipped Tool
OFFHANDITEMIDDMG
Variable

ID and durability seperated by a colon of the offhand item

Category: Equipped Tool