consecutive-checks.cql

// Download consecutive-checks.cql
// PGN output when run on sample.pgn

/********
Find games with at least 5 consecutive checks,
sorted by the number of consecutive checks
**********/

cql(input heijden.pgn)
sort "number of consecutive checks"
  line 5 100 nestban
    -->check+