title: imacros help if statements
body: <p>In my macro1.iim , I search google for Iron Maiden. If a certain keyword is found in the results (example: the word "eddy") I want to extract the word "eddy" and save it to a text file. If the word is not found I want to wait 10min and search again.</p>
  
  <p>Thinking eval or making a vbs script?<br />
  Could someone show me how do I do this?</p>
  
  <p>I've tried this:</p>
  
  <pre><code>`VERSION BUILD=7500718 RECORDER=FX
  SET !EXTRACT_TEST_POPUP NO
  SET !ERRORIGNORE YES
  SET !TIMEOUT_PAGE 15
  TAB T=1     
  TAB CLOSEALLOTHERS
  ONDIALOG POS=1 BUTTON=OK CONTENT=
  URL GOTO=http://google.com/search=ironmaiden/
  TAG POS=1 TYPE=P ATTR=TXT:eddy EXTRACT=TXT
  SET !VAR1 EVAL("var s=\"{{!EXTRACT}}\";var txt=/eddy/i;
  if (s.match(eddy)) iimPlay(macro2)
  else WAIT=10000 seconds {{!LOOP}}")`
  </code></pre>