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 2454 tags...
Name<PolygonTag.note_name>
ReturnsElementTag
DescriptionGets the name of a noted PolygonTag. If the polygon isn't noted, this is null.
Example
# For example, this might return something like:
# "The polygon you are currently in is noted as: my_polygon!"
- narrate "The polygon you are currently in is noted as: <player.location.areas[polygons].first.note_name.if_null[null! You aren't in a polygon]>!"
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PolygonTag.java#L647