Denizen Script Commands


Commands are always written with a '-' before them, and are the core component of any script, the primary way to cause things to happen.
Learn about how commands work in The Beginner's Guide.


Showing 1 out of 183 commands...
NameInject
Related Guide Pagehttps://guide.denizenscript.com/guides/basics/run-options.html
Syntaxinject [<script>] (path:<name>) (instantly)
Short DescriptionRuns a script in the current queue.
Full DescriptionInjects a script into the current queue.
This means this task will run with all of the original queue's definitions and tags.
It will also now be part of the queue, so any delays or definitions used in the injected script will be accessible in the original queue.
Related TagsNone
Usage Example
#Injects the InjectedTask task into the current queue
- inject InjectedTask
Groupqueue
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/scripts/commands/queue/InjectCommand.java#L25