Problems with not replacig words from a list


Author
Message
Jin
Jin
Jin
posted 7 Years Ago HOT
Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)
Group: Forum Members
Posts: 26, Visits: 103
HI all,

I'm currently working on a Stroop test and I am having an issue with the program selecting words from a list. My goal is for the program to select words from a general list and not have that word be shown again in a different color. E.g. "exist" is shown in green, and is taken out of the general list and never shown in red or blue. I've tried using a counter, but it only shows the first words of the lists in different colors. I've attached part of the code below.

Thank you!

<expt>
/blocks = [1=practice;2=allneustroop; 3=allemostroop]
</expt>

<block practice>
/ preinstructions = (practice)
/ trials = [1=ready; 2-11=random(neu_green, neu_blue, neu_red,emo_green, emo_blue, emo_red)]
/ errormessage =(errormessage,0)
</block>

<block allemostroop>
/preinstructions=(allemostroop)
/trials=[1=ready; 2-51=noreplace(emo_green, emo_blue, emo_red)]
/errormessage=(errormessage, 0)
</block>

<trial emo_red>
/stimulustimes = [0=emo_red]
/posttrialpause = 250
/validresponse = ("red", "green", "blue")
/correctresponse = ("red")
/timeout = 3000
</trial>

<trial emo_blue>
/stimulustimes = [0=emo_blue]
/posttrialpause = 250
/validresponse = ("green", "blue", "red")
/correctresponse = ("blue")
/timeout = 3000
</trial>

<trial emo_green>
/stimulustimes = [0=emo_green]
/posttrialpause = 250
/validresponse = ("green", "blue", "red")
/correctresponse = ("green")
/timeout = 3000
</trial>

<text emo_red>
/items=emotional
/color = (255,0,0)
/select = counter.emotional
</text>

<text emo_blue>
/items=emotional
/color = (0,0,255)
/select = counter.emotional
</text>

<text emo_green>
/items=emotional
/color = (0,255,0)
/select = counter.emotional
</text>

<item emotional>
/1 ="        ABUSE        "
/2 ="        AGONY        "
/3 ="        AMPUTATE         "
/4 ="       ASSASSIN        "
/5 ="        BLEEDING        "
</item>

<counter emotional>
/ items = emotional(1-50)
/ select = noreplace
</counter>




GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Jin - 7 Years Ago
Dave - 7 Years Ago
Jin - 7 Years Ago
Dave - 7 Years Ago
                     + x [quote] [b] Dave - Friday, September 29, 2017 [/b]...
Jin - 7 Years Ago
                         + x [quote] [b] Jin - Thursday, October 26, 2017 [/b]...
Dave - 7 Years Ago
                             + x [quote] [b] Dave - Thursday, October 26, 2017 [/b]...
Jin - 7 Years Ago
                                 + x [quote] [b] Jin - Friday, October 27, 2017 [/b] +...
Jin - 7 Years Ago
                                     + x [quote] [b] Jin - Friday, October 27, 2017 [/b] +...
Dave - 7 Years Ago
                                         + x [quote] [b] Dave - Friday, October 27, 2017 [/b]...
Dave - 7 Years Ago
                                             + x [quote] [b] Dave - Friday, October 27, 2017 [/b]...
Jin - 7 Years Ago
                                                 + x [quote] [b] Jin - Monday, October 30, 2017 [/b] +...
Dave - 7 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search