Group: Forum Members
Posts: 3,
Visits: 8
|
Hi all, I am trying to make a script to assign different trials (trial B / C) based on the response the user give in trial A. I have 100 trial in A, 100 in B and 100 in C, all in sequence. So for the 1st trial A, if the user choose "j", they should go to the 1st trial B, and if the choose "k", it will go to the 1st trial C. At the same time, the trial that does not get chosen should never appear again. Right now, what I have is: if on the 1st trial A, they choose "j" and go to 1st B. Then in the 2nd trial A, when they choose "k", they will go to the 1st trial C instead of the 2nd C. I tried "skip", but it didn't work. How should I solve this problem? Thank you!!
My script is here: <trial A> /stimulustimes= [0= T1_11, T1_12, j, k] /timeout = 5000 / validresponse = ("j","k") / beginresponsetime = 0 / responseinterrupt = trial / responsetrial == ("j", trial.B) / responsetrial == ("k", trial.C) </trial>
<trial B> /stimulustimes= [0=T1_21, T1_Q] /timeout = 5000 / skip = [trial.A.response == "k"] </trial>
<trial C> /stimulustimes= [0=T1_22, T1_2_Q] /timeout = 5000 / skip = [trial.A.response == "j"] </trial>
<block test_1> / trials = [1-100=sequence(A)] </block>
|