#(Darwin) combine maps
24 messages · Page 1 of 1 (latest)
(Darwin) combine maps
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>
!vague
Your question is too vague to be able to answer well.
If you're asking how to do something, please make sure to add some background detail. Make sure to specify your overall end goal and the general design/idea and any existing progress towards that goal, not just the single specific point.
For script-related problems, see also !info haste debug. For non-scripting server trouble, see !logs.
See also !xyproblem
Explain what you mean by stitch
!t map.include
Returns a copy of the map with the specified map's contents copied in.
Matching keys will be overridden.
MapTag
# 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]>
# 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]>
include will override
in this example it will result just
map:
lol:
lel: 20
!t map.include
Returns a copy of the map with the specified map's contents copied in.
Matching keys will be overridden.
MapTag
# 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]>
# 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]>
Tag parse results for <map[map=<map[lol=<map[kek=4]>]>].include[<map[map=<map[lol=<map[lel=20]>]>]>]>: https://paste.denizenscript.com/View/110696
map@[map=map@[lol=map@[lel=20]]]
!vague
Your question is too vague to be able to answer well.
If you're asking how to do something, please make sure to add some background detail. Make sure to specify your overall end goal and the general design/idea and any existing progress towards that goal, not just the single specific point.
For script-related problems, see also !info haste debug. For non-scripting server trouble, see !logs.
See also !xyproblem
If it's vague for you can you just do not?
Well explain what you want to do