platzwechselecho.cql

// Download platzwechselecho.cql
// PGN output when run on sample.pgn

cql(input hhdbvi.pgn)
N1 N2{
     abs (rank N1 - rank N2)3 
     abs (file N1 - file N2)3
     echo (s t){
       st
       N1==s:N2
       N2==s:N1
       ///"Platzwechsel: " N1 " and " N2 " switched places"
    }
}