Conditions
Last updated
Last updated
local
Specifying that a condition is local
makes the condition only usable from within the script that it is defined in. This allows you to create condition that do not interfere with conditions from other addons or scripts.
parse
Code in this section is executed whenever the condition is parsed. This section may be used to emit errors if the condition is used in an improper context.
If this section is included, you must also if the effect was parsed successfully.
check
Code in this section is executed whenever the condition is checked. This section must if the condition is met. The section may exit without continuing if the condition fails.