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 2 out of 2437 tags...
Name<ListTag.lowest[(<tag>)]>
ReturnsObjectTag
DescriptionReturns the smallest value in a list of decimal numbers.
Optionally specify a tag to run on each list entry that returns the numeric value for that entry.
Example
# Narrates '1'
- narrate "<list[3|2|1|10].lowest>
Example
# Narrates the name of the player with the least money currently online
- narrate <server.online_players.lowest[money].name>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ListTag.java#L1904

Name<ListTag.lowest[(<tag>)].count[<#>]>
ReturnsListTag
DescriptionReturns a list of the smallest values in a list of decimal numbers.
Optionally specify a tag to run on each list entry that returns the numeric value for that entry.
Note: if you want to sort the entire list, rather than just getting a few values, use a sort tag link Tag:listtag.sort_by_number
Example
# Narrates a list of '1|2'
- narrate "<list[3|2|1|10].lowest.count[2]>
Example
# Narrates the names of the 5 players with the least money currently online
- narrate <server.online_players.lowest[money].count[5].parse[name].formatted>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ListTag.java#L1931