Im trying to give a group of Armor Stands a couple of random names so i can have a set of commands find them and fill in that type of block, i have my first set of command blocks spawning them in the areas i want them to be in, then my next command block i have set as
Execute as @e[type=minecraft:armor_stand, limit=3, sort=random] run data merge entity @e[type=minecraft:armor_stand] {CustomName:"\"Brick\"", CustomNameVisible:1}
What i want is my next command block in the line is to be generally the exact same (with a different name related to the block i want of course) but to exclude the 3 already named armor stands. ive tried to do this in different ways but couldnt figure out how. They always come to a point where it overwrites the current name of the armor stands which i dont want it to overwrite it. Ive searched on the internet for a while to try and help me figure out how to do it but i couldnt find out how so i decided to ask. Thank you for reading my Question ^.^