Same with t6:

CONTRACT* C = dataAppendRow(MyT8Handle,9);

then fill the contract from the current T6 dataset.

New functions make sense when they save the user some work, like 20-30 script lines, but not 2-3 lines. But if any questions come up with that script, just ask.