*** This script selects sectors with the extra-tag equal to at least one of selected sectors.

mov r00 -1
for each selected sector r00
  getsector r00 extra r02
  mov r01 -1
  for each nonignored sector r01
    getsector r01 extra r03
    if r02 == r03
      selectsector r01 1
    endif
  continue
continue