Name | Determine |
Related Guide Page | https://guide.denizenscript.com/guides/first-steps/world-script.html |
Syntax | determine (passively) [<value>] |
Short Description | Sets the outcome of a script. |
Full Description | Sets the outcome of a script.
The most common use case is within script events (for example, to cancel the event). This is also required for all procedure scripts. It may be useful in other cases (such as a task script that returns a result, via the save argument). By default, the determine command will end the queue (similar to stop). If you wish to prevent this, specify the "passively" argument. To make multiple determines, simply use the determine command multiple times in a row, with the "passively" argument on each. |
Related Tags | <QueueTag.determination> Returns the values that have been determined via Determine (...)
|
Usage Example |
|
Usage Example |
|
Synonyms (Search Aid) | return |
Group | queue |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/scripts/commands/queue/DetermineCommand.java#L23 |