Hi Hugo,
I would treat RT as a modulation variable, and don't use dmBLOCK. In other words, treat RT the same way as the other three modulation variables.
Further more, work on the following two lines:
-stim_times_AM2 1 SS.1D GAM -stim_label 1 SS \
-stim_times_AM2 2 LL.1D GAM -stim_label 2 LL \
In SS.1D and LL.1D, incorporate the values of all the four modulation variables. See the help in 3dDeconvolve for details:
3dDeconvolve -help | less
Forget about the following line:
-stim_times_AM2 3 ../stimuli/${subj}stimlist2.1D 'dmBLOCK' -stim_label 3 ALL \
Gang