You need to enter those in the /columns attribute *without* the numbers, as detailed at
https://www.millisecond.com/support/docs/v5/html/language/attributes/columns.htm
" [...] Stimulusnumber, stimulusitem, and stimulusonset receive special treatment. The first stimulusnumber specified in the columns attribute indicates that the item number of the first stimulus appearing on the current trial should be recorded. The second stimulusnumber indicates that the item number of the second stimulus presented on the trial should be recorded, and so on. If no 1st, 2nd, 3rd, etc. stimulus is presented on a given trial, a '0' is recorded. [...].
Example
The following records 10 columns to the data file:
<data>
/ columns=(group, subject, computer.ipaddress.1, blockcode, trialcode, trialnum, latency, response, stimulusitem, stimulusitem, values.totalearnings, values.dprime, script.elapsedtime)
</data>
"
If you need to record 4 stimulusitem columns, you specify
/ columns = [..., stimulusitem, stimulusitem, stimulusitem, stimulusitem, ...]
(same applies to stimulusnumber and stimulusonset)