Thanks for your answer Dave! This is exactly what I needed. I have only two questions left:
1.
/ validresponse = (30,38) means validresponse = "A"
OR "L"
Is it possible to have something like validresponse = "A"
AND "L" to ensure that both keys are pressed?
2. In your version with "chained" <trial> elements: How can I randomize the stimuli in the second trial in my <block>?
/ validresponse = (30,38)
/ validresponse = (30,38)
/ validresponse = (30,38)
/ validresponse = (30,38)
/ validresponse = (30,38)