Conditional break
in OpenSesame
Hello,
I am building a memory task and I was wondering if there is any way to break the loop and end the experiment if you fail 3 times in a row.
Greetings and thanks in dvance
Comments
Hi,
I have never tried, but probably, you can call something like exp.end() in an inline_script. To find out whether three responses have been wrong in a row, you can check the responses item. It stores all the responses in a list.
https://osdoc.cogsci.nl/3.2/manual/python/responses/
Eduard