Here's a one condition idea.
system: pick by comparison: sprite find(",1,3,14,6,", ","&Sprite.uid&",") =/= -1
It's a bit hard to read. Another idea is to use a boolean variable and a function:
on function "pick by uids"
--- sprite: set pick to false
------repeat function.parameterCount times
------sprite: pick by uid function.param(loopindex)
---------sprite: set pick to true
Then you could do something like this:
every tick
--- call function "pick by uids" (2, 4, 6, 10)
sprite: is pick
--- do something