Code:
alias getroom {
  if (!$bvar($1,0)) { return }
  var %pos = $bfind($1,1,?rm=) + 4
  while (%pos != 4) {
    echo -a $bvar($1,$+(%pos,-,$calc($bfind($1,%pos,') - 1))).text
    %pos = $bfind($1,%pos,?rm=) + 4
  }
}


You just have to pass the name of the binary variable you read the data into to /getroom. This just echos the rooms to the active window, you can change that to whatever you like.