You can search files like this:
Code:
if ($read(something.log,w,$1-) != $null) { [color:green]do commands for when it is in the log[/color] }
else { [color:green]do commands when it is not in the log[/color] }


That would search for exact matches.