I've attached a template & text file to this post. Simply unzip both of them into any folder, then run the template in ZP project maker so you can follow along with each step.
Посмотреть вложение Parsed Text.rar
Here is an explanation of what it is doing:
In the text file, there is your entire original post. The bot will visit this thread, and will parse the following text from your original post "give me a helping hand".
Then it will load the text file (so it can compare the parsed text to the text in the text file). Before it can do that though, it has to make the loaded text file Javascript friendly, as the bot uses Javascript to compare the two and check for a match.
Here is the javascript function it is using to compare the parsed text to the text in the text file:
var WordstoLookFor = "give me a helping hand"; (what actually goes in between those quotes, is the execution result from the page parsing, which is that text)
var WhattoLookIn = "the loaded text file"; (what actually goes in between those quotes, is the execution result from making the loaded text file JS friendly)
WhattoLookIn.search(WordstoLookFor); (this function, returns a positive number when the text is found, and returns -1 when it is not found)
Directly beneath the comparison step, you'll see another step labelled "check if number returned is -1 or not -1. When the comparison step completes, it returns -1 if the text is not found, and returns a positive number if it is found.
So it uses an if "returned number here" is not equal to -1 then do this (text found) else the it returns as false, in which case you say "do this" (text not found).
See this post for a little bit more of an explanation:
http://zennolab.com/discussion/showthread.php?3169-How-to-check-words-in-txt-file&p=18432&viewfull=1#post18432