Millisecond Forums

how to call up a specific item in a list

https://forums.millisecond.com/Topic13785.aspx

By davidwdw - 7/13/2014

<item pleasant>
/ 1 = " PTTVPS "
/ 2 = " UUOIOOP "
</item>

<text word>
/ items = pleasant
</text>

<trial type1>
/ stimulustimes = [0 = word]
/ timeout = 4000
</trial>

For the trial type1 specified in the above code, the items are called up from item list randomly. However, how do I call up individual items from the list? For example, I only want to call out the first item. 

What should I put in the function "/ stimulustimes = [0 = ]"?

Thank you so much. 
By Dave - 7/13/2014

That's not something you do via /stimulustimes or -frames. How stimuli are selected from a given pool is solely to be controlled via the respective *stimulus* element, here the <text> element.

<values>
/ myvalue = 0
</values>

<item pleasant>
/ 1 = " PTTVPS "
/ 2 = " UUOIOOP "
</item>

<text word>
/ items = pleasant
/ select = values.myvalue
</text>

<trial type1>
/ ontrialbeging = [values.myvalue=1]
/ stimulustimes = [0 = word]
/ timeout = 4000
</trial>

However, I fail to see the merits of this approach. If you want a <text> element to just have a single item, why would you want to specify more (here two)?
By davidwdw - 7/14/2014

Hi Dave, thank you so much for your answer. I see your point. So if I want to call up one string each time, I should just define them as separate item? 
Sorry for the question but I'm new to Inquisit. 
By Dave - 7/14/2014

Yes, that would be the standard way to do it.