How to create an adaptive staircase that can be applied to text presentation durations

Hello, I’d like to create an adaptive staircase that can be applied to text presentation durations. In fact, I’d like to carry out a psychology experiment, which would enable me to obtain word recognition thresholds. I’d like to set up an adaptive procedure for word exposure times, but it’s not working. In fact, I made a loop with interleaved staircases that I called “level1” where I entered an array with my values, and in the duration of my words, I entered $level1, but it didn’t work. I’ve also made another loop that encompasses the whole thing, with my cvs document with all my words to present. I don’t understand how to do this and where my errors are. Can you help me? Thank you in advance, Sincerely, Maïa