it/docs

Macros

Last updated:

Macros are defined by starting any line with --#.

--#DEPENDENCY

Arguments:

NameOptionalDescription
pathNoThe path to the addon that should be loaded before this one

This is only used in addon scripts. It specifies that an addon should be loaded before this one.

--#OLD_SCRIPT_NAME

Arguments:

NameOptionalDescription
pathNoThe old script path

This is used for moving scripts. When a script is moved, external references to that script will be broken. This macro specifies a fallback, if the script is not found, check if a script has OLD_SCRIPT_NAME matching.

On this page