<values>/ currentitem = 1</values><text mytext>/ items = ("A", "B", "C", "D")/ select = values.currentitem</text><trial mytrial>/ ontrialend = [if (trial.mytrial.response == "203" && values.currentitem > 1) values.currentitem -= 1]/ ontrialend = [if (trial.mytrial.response == "205" && values.currentitem < text.mytext.itemcount) values.currentitem += 1]/ stimulusframes = [1=mytext]/ validresponse = (1,203,205)/ branch = [if (trial.mytrial.response != "1") trial.mytrial]</trial><block myblock>/ trials = [1=mytrial]</block>