how do i tell imacros to go to a url if the extracted TXT does not include a certain word?
<p>i want to ask how do i tell imacros to go to a certain page if the extracted word is found. so far i came up with </p>

<pre><code>TAG POS=1 TYPE=DIV ATTR=CLASS:"module-select" EXTRACT=TXT

SET ref EVAL("var t = '{{!EXTRACT}}'.includes("and") window.location.href = ("https://www.google.com); return;")
</code></pre>

<p>but something is wrong in my JS script inside <code>EVAL</code> and i can't figure it out. i would greatly appreciate it if someone can help me sort this out. thanks in advance. What I was trying to accomplish is when the extracted text includes the word "and" it would go to google.com (just an example url) and if not, it would do nothing or skip to the next line.</p>