Hi Marc,
Tent functions are what you want to use. The link you mention is broken and we'll fix it. But you should look at the linear regression class material to understand how the tent functions are used.
See [
afni.nimh.nih.gov] and other regression related documents in afni_handouts directory.
Each column in 3dmaskave is from one TR, or more generically, one sub-brick. But in terms of the content of each row, that depends on what you did with -mrange option.
If in doubt, create a one voxel ROI with Draw Dataset plugin and test your command.
cheers,
ziad