-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
priority: lowNot essential, but would be nice to complete (quality-of-life)Not essential, but would be nice to complete (quality-of-life)type: enhancement
Description
Custom syntax may be difficult to use due to the nature of how Skript loads scripts. A utility should be added that defers parsing of a line to runtime (and caches the resulting Statement) to ensure that syntaxes have time to load.
Caveats:
This is an escape hatch and must not be encouraged.
If used to wait for custom syntax, all relevant syntaxes must be loaded before the statement is called. This may not hold true in events that run before all scripts load (e.g. script load, syntax parse).
Proposed syntax:
~ <.+>
Metadata
Metadata
Assignees
Labels
priority: lowNot essential, but would be nice to complete (quality-of-life)Not essential, but would be nice to complete (quality-of-life)type: enhancement