title: Import .CSV data into Javascript and run execute if string contains data
body: <p>I have a couple of iMacro-files, that is executed with a single javascript file. </p>
  
  <p>Very basic, looks like this. </p>
  
  <pre><code>iimPlay("GoogleMacro.iim");
  iimPlay("IBMMacro.iim");
  iimPlay("IMDBMacro.iim");
  iimPlay("AltavistaMacro.iim");
  iimPlay("GametrailersMacro.iim");
  iimPlay("MortalCombatMacro.iim");
  iimPlay("WikipediaMacro.iim");
  </code></pre>
  
  <p>It is called <em>playme.js</em>, and works really good.</p>
  
  <p>Though, I don't want to run every macro each time I launch the .js file. </p>
  
  <p>I have a separate CSV-file, <em>urldata.csv</em> </p>
  
  <pre><code>URLINFO,URLINFO2,DATA1,DATA2
  http://google.com,GOOGLE,"hello","thank you for searching" 
  http://ibm.com,IBM,null,null
  http://imdb.com,IMDB,null,null
  http://altavista.com,ALTAVISTA,"rip","rest in peace, my friend",
  http://gametrailers.com,GAMETRAILERS,null,null
  http://mortalkombat.wikia.com,MORTALKOMBAT,null,null
  http://wikipedia.org,WIKIPEDIA,null,null
  </code></pre>
  
  <p>The way I want it to work, in this case (the data above in <em>urldata.csv</em>), the .js file would only execute GoogleMacro.iim and AltavistaMacro.iim</p>
  
  <p>The rule I am looking for: If COL3 has the value <strong>null</strong>, do not iimPlay, and check the next file in line.</p>
  
  <p>The .JS code should <strong>work</strong> (I am very aware of this is just gibberish) like this:</p>
  
  <pre><code>#Import urldata.csv
  
  Loop whole CSV {
  ROW2, If COL3 = null --&gt; go to ROW3
  else iimPlay("GoogleMacro.iim");
  ROW3, If COL3 = null --&gt; go to ROW4
  else iimPlay("IBMMacro.iim");
  Etc..
  }
  </code></pre>
  
  <p>I need to figure out:</p>
  
  <ul>
  <li>How to import/read the data from <em>urldata.csv</em> to my <em>playme.js</em>. Apparently, <a href="https://stackoverflow.com/questions/11579587/include-jquery-into-javascript-and-use-it-in-imacros#comment18906413_13617055">jQuery is not allowed in the free version of iMacros</a> and therefore I cannot use this. </li>
  <li>How to make a function that only use iiPlay if the value on row X is something else than null.</li>
  </ul>
  
  <p>Please help! :)</p>