Denizen Script Tags


Tags are always written with a <between these marks>, and are critical to scripts, as the primary way to read data.
Learn about how tags work in The Beginner's Guide.


Showing 1 out of 2487 tags...
Name<ListTag.get[<#>].to[<#>]>
ReturnsListTag
DescriptionReturns all elements in the range from the first index to the second.
Note the index input options described at ObjectType:listtag
Example
# Narrates a list of "one|two|three"
- narrate <list[one|two|three|four].get[1].to[3]>
Example
# Narrates a list of "three|four"
- narrate <list[one|two|three|four].get[3].to[last]>
Example
# Narrates a list of "three|four"
- narrate <list[one|two|three|four].get[-2].to[-1]>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ListTag.java#L1566