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<MapTag.include[<map>]>
ReturnsMapTag
DescriptionReturns a copy of the map with the specified map's contents copied in.
Matching keys will be overridden.
Example
# Narrates a map of '[a=1;b=2;c=3;d=4;e=5]'
- narrate <map[a=1;b=2;c=3].include[d=4;e=5]>
Example
# Demonstrates matching keys overriding - Narrates a map of '[a=1;b=4;c=5]'
- narrate <map[a=1;b=2;c=3].include[b=4;c=5]>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/MapTag.java#L846