1. If you are interested in specific donor-acceptor pairs you can use CORRel to extract the timeseries of the distance between the atoms, and the process that with your own program.

It should be noted that CORREL can also easily calculate an autocorrelation function from a distance time series; there's no need to write a program for this.