Rerandom values repeated

hello,
I would like to make a spread of 6 random values (size 10)
I have to filter repetitions, it works good with a setslice of bangs (indexes are given by first occurence pin from occurence).
But I can’t plug my setslice outpin to the random object…
it’s weird, because this is just a 6 bangs spread (wich some doesn’t bang if no need…) i don’t know what I’m doing wrong.

the patch attached describes my problem.

thx

rerandom repetitions.v4p (13.2 kB)

if you want 6 values out of 10 without repetitions, i think i have a plugin for you

randomList.zip (19.3 kB)

hey thanks a lot !
seems pretty good !!
anyway I would to understand my mistake in my patch, I’m in vvvv learning ;)
thx

Try the https://discourse.vvvv.org/t/6967 provided by @eno.

really cool !
merci