+x+xThanks, Dave. I am a bit confused based on the example you provided with the different .txt files that were used to define different sets of items.
I wrote out all of the possible options (as though they were if statements...). How could I go about listing the items with the combinations below? I'm unsure based on the example. I would really appreciate any help.
values.manip_a = 1 && values.manip_b ==2 && values.dist_orig == 1
values.manip_a = 1 && values.manip_b ==3 && values.dist_orig == 1
values.manip_a = 1 && values.manip_b ==4 && values.dist_orig == 1
values.manip_a = 1 && values.manip_b ==5 && values.dist_orig == 1
values.manip_a = 1 && values.manip_b ==2 && values.dist_orig == 2
values.manip_a = 1 && values.manip_b ==3 && values.dist_orig == 2
values.manip_a = 1 && values.manip_b ==4 && values.dist_orig == 2
values.manip_a = 1 && values.manip_b ==5 && values.dist_orig == 2
values.manip_a = 1 && values.manip_b ==2 && values.dist_orig == 3
values.manip_a = 1 && values.manip_b ==3 && values.dist_orig == 3
values.manip_a = 1 && values.manip_b ==4 && values.dist_orig == 3
values.manip_a = 1 && values.manip_b ==5 && values.dist_orig == 3
values.manip_a = 1 && values.manip_b ==2 && values.dist_orig == 4
values.manip_a = 1 && values.manip_b ==3 && values.dist_orig == 4
values.manip_a = 1 && values.manip_b ==4 && values.dist_orig == 4
values.manip_a = 1 && values.manip_b ==5 && values.dist_orig == 4
values.manip_a = 2 && values.manip_b ==1 && values.dist_orig == 1
values.manip_a = 2 && values.manip_b ==3 && values.dist_orig == 1
values.manip_a = 2 && values.manip_b ==4 && values.dist_orig == 1
values.manip_a = 2 && values.manip_b ==5 && values.dist_orig == 1
values.manip_a = 2 && values.manip_b ==1 && values.dist_orig == 2
values.manip_a = 2 && values.manip_b ==3 && values.dist_orig == 2
values.manip_a = 2 && values.manip_b ==4 && values.dist_orig == 2
values.manip_a = 2 && values.manip_b ==5 && values.dist_orig == 2
values.manip_a = 2 && values.manip_b ==1 && values.dist_orig == 3
values.manip_a = 2 && values.manip_b ==3 && values.dist_orig == 3
values.manip_a = 2 && values.manip_b ==4 && values.dist_orig == 3
values.manip_a = 2 && values.manip_b ==5 && values.dist_orig == 3
values.manip_a = 2 && values.manip_b ==1 && values.dist_orig == 4
values.manip_a = 2 && values.manip_b ==3 && values.dist_orig == 4
values.manip_a = 2 && values.manip_b ==4 && values.dist_orig == 4
values.manip_a = 2 && values.manip_b ==5 && values.dist_orig == 4
values.manip_a = 3 && values.manip_b ==1 && values.dist_orig == 1
values.manip_a = 3 && values.manip_b ==2 && values.dist_orig == 1
values.manip_a = 3 && values.manip_b ==4 && values.dist_orig == 1
values.manip_a = 3 && values.manip_b ==5 && values.dist_orig == 1
values.manip_a = 3 && values.manip_b ==1 && values.dist_orig == 2
values.manip_a = 3 && values.manip_b ==2 && values.dist_orig == 2
values.manip_a = 3 && values.manip_b ==4 && values.dist_orig == 2
values.manip_a = 3 && values.manip_b ==5 && values.dist_orig == 2
values.manip_a = 3 && values.manip_b ==1 && values.dist_orig == 3
values.manip_a = 3 && values.manip_b ==2 && values.dist_orig == 3
values.manip_a = 3 && values.manip_b ==4 && values.dist_orig == 3
values.manip_a = 3 && values.manip_b ==5 && values.dist_orig == 3
values.manip_a = 3 && values.manip_b ==1 && values.dist_orig == 4
values.manip_a = 3 && values.manip_b ==2 && values.dist_orig == 4
values.manip_a = 3 && values.manip_b ==4 && values.dist_orig == 4
values.manip_a = 3 && values.manip_b ==5 && values.dist_orig == 4
values.manip_a = 4 && values.manip_b ==1 && values.dist_orig == 1
values.manip_a = 4 && values.manip_b ==2 && values.dist_orig == 1
values.manip_a = 4 && values.manip_b ==3 && values.dist_orig == 1
values.manip_a = 4 && values.manip_b ==5 && values.dist_orig == 1
values.manip_a = 4 && values.manip_b ==1 && values.dist_orig == 2
values.manip_a = 4 && values.manip_b ==2 && values.dist_orig == 2
values.manip_a = 4 && values.manip_b ==3 && values.dist_orig == 2
values.manip_a = 4 && values.manip_b ==5 && values.dist_orig == 2
values.manip_a = 4 && values.manip_b ==1 && values.dist_orig == 3
values.manip_a = 4 && values.manip_b ==2 && values.dist_orig == 3
values.manip_a = 4 && values.manip_b ==3 && values.dist_orig == 3
values.manip_a = 4 && values.manip_b ==5 && values.dist_orig == 3
values.manip_a = 4 && values.manip_b ==1 && values.dist_orig == 4
values.manip_a = 4 && values.manip_b ==2 && values.dist_orig == 4
values.manip_a = 4 && values.manip_b ==3 && values.dist_orig == 4
values.manip_a = 4 && values.manip_b ==5 && values.dist_orig == 4
values.manip_a = 5 && values.manip_b ==1 && values.dist_orig == 1
values.manip_a = 5 && values.manip_b ==2 && values.dist_orig == 1
values.manip_a = 5 && values.manip_b ==3 && values.dist_orig == 1
values.manip_a = 5 && values.manip_b ==4 && values.dist_orig == 1
values.manip_a = 5 && values.manip_b ==1 && values.dist_orig == 2
values.manip_a = 5 && values.manip_b ==2 && values.dist_orig == 2
values.manip_a = 5 && values.manip_b ==3 && values.dist_orig == 2
values.manip_a = 5 && values.manip_b ==4 && values.dist_orig == 2
values.manip_a = 5 && values.manip_b ==1 && values.dist_orig == 3
values.manip_a = 5 && values.manip_b ==2 && values.dist_orig == 3
values.manip_a = 5 && values.manip_b ==3 && values.dist_orig == 3
values.manip_a = 5 && values.manip_b ==4 && values.dist_orig == 3
values.manip_a = 5 && values.manip_b ==1 && values.dist_orig == 4
values.manip_a = 5 && values.manip_b ==2 && values.dist_orig == 4
values.manip_a = 5 && values.manip_b ==3 && values.dist_orig == 4
values.manip_a = 5 && values.manip_b ==4 && values.dist_orig == 4
I have no idea what this is supposed to mean.
You said:
"I have three options of different numbers presented on the screen. I want to make sure all possible 80 options occur, but I want to split them up between subjects, such that the first subject does the first 1-20, the next does 20-40, the next does 40-60, and finally 60-80."
That sounds to me like you have four sets of 20 "options" each. I don't understand what this has to do with if-statements.
You ask:
"How could I go about listing the items with the combinations below?"
Where do the numbers 1, 2, 3, 4 and 5 in your listing
values.manip_a =
1 && values.manip_b ==
2 && values.dist_orig == 1
values.manip_a = 1 && values.manip_b ==
3 && values.dist_orig == 1
values.manip_a = 1 && values.manip_b ==
4 && values.dist_orig == 1
values.manip_a = 1 && values.manip_b ==
5 && values.dist_orig == 1
[...]
come from? Those are your combinations, right? So put them in <list>s and <include> different lists.
Look at your script at
https://www.millisecond.com/forums/FindPost27477.aspx (I have no way of knowing how current that is). You have your
80 options / combinations encoded in a bunch of <list> elements. These:
// we have 4 distributions to select from
<list distributions_a>
/ items = (
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4)
</list>
<list distributions_b>
/ items = (
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4)
</list>
// we have 5 manipulation options to select from
<list manipulations_a>
/ items = (
1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,
1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,
1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,
1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5)
/ selectionmode = list.distributions_a.currentindex
</list>
<list manipulations_b>
/ items = (
1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,
1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,
1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,
1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5)
/ selectionmode = list.distributions_b.currentindex
</list>
<list potentialSelfInterests>
/ items = (
1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4,
1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4,
1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4,
1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4)
/ selectionmode = list.distributions_a.currentindex
</list>
Now, just create four files containing those lists, but in each file the lists have only
20 options / combinations. I.e. split things into four sets of 20 different combinations.
Then you just <include> the applicable set of 20 combinations as illustrated before.