Effects
[local] effect <pattern>:
parse:
# code, optional
trigger:
# code, required[local] effect:
patterns:
# patterns, one per line
parse:
# code, optional
trigger:
# code, requiredFlag local
localSpecifying that an effect is local makes the effect only usable from within the script that it is defined in. This allows you to create effects that do not interfere with effects from other addons or scripts.
Section parse
parseCode in this section is executed whenever the effect is parsed. This section may be used to emit errors if the effect is used in an improper context.
If this section is included, you must also continue if the effect was parsed successfully.
Section trigger
triggerLast updated