Find lots of elements by parameter

I’m a little confused by what you are trying to do, are you just trying to find all the rooms that have a specific parameter value based on another list of parameter values (from some other list of elements), find the matching pairs and then write some parameters from one to another?