Stupid of me to post this and then come up with a solution for myself 10 minutes later.
Modifying your script to how for what I wanted worked perfectly. So thanks for the help. I also came up with this script awhile after I made the thread...
PHP Code:
function Compare( combo ) {
temp.list = {
{"Test One","Test Two","Test Three"},"Test String Zero",
{"Test One","Test Two"},"Test String One",
{"Test Two","Test Three"},"Test String Two"
};
for ( temp.i : list ) {
if ( i.type() == 3 ) {
temp.match = 0;
for ( temp.j : combo ) {
if ( j in i ) match++;
}
if ( match == i.size() || combo == i.size() ) return list[list.index(i)+1];
}
}
}
This also works, I've tested it a few times. :]