Thanks to R. Hammett, I found the script and I tested it on the only PAR/REC file that I have. The good news is that it works, the bad news is that it doesn't.
Basically, the script does not rearrange the order of slices in the .rec file. So, if your slices are stored in interleaved order, they will also be interleaved in the AFNI BRICK. In such instances, the slice acquisition time offset will also be incorrect in the AFNI HEAD.
Give the script a try, I put it here:
[
afni.nimh.nih.gov]
We will distribute it once we hear back on how well it works.
cheers,
-ziad