View Single Post
  #4  
Old 06-10-2009, 07:14 PM
The_Kez The_Kez is offline
N-Pulse Asst. Manager
The_Kez's Avatar
Join Date: Dec 2007
Posts: 106
The_Kez is on a distinguished road
Send a message via MSN to The_Kez
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 Comparecombo ) {
  
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.: list ) {
    if ( 
i.type() == ) {
      
temp.match 0;
      for ( 
temp.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. :]
Reply With Quote