@Adrian_Rivera , You can find an example with more detail in this topic (check the last post of the topic). It is basically the same as Michael’s method.
I am interested in how I can pull a value from my conditions file, and use it in my code to determine what kind of feedback to give.
I am running multiple trials (my loop is called ‘trials’), each trial corresponds to a row in my ‘Conditions’ file. In my conditions file, I have a column called, “Feedback”. Values in this column can be either ‘correct’ or ‘incorrect’.
If I am in a trial where the feedback type is ‘correct’ I want one type of message presented, if it is ‘incorrect’ I want anothe…