Name | Inject |
Related Guide Page | https://guide.denizenscript.com/guides/basics/run-options.html |
Syntax | inject [<script>] (path:<name>) (instantly) |
Short Description | Runs a script in the current queue. |
Full Description | Injects 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 Tags | None
|
Usage Example |
|
Group | queue |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/scripts/commands/queue/InjectCommand.java#L25 |