I think the OP don't want to check TEXT isin <any line>, but <any line> isin TEXT. In this case - if a text file is used as the source - a loop is inevitable. e.g.:
var %n = 1
while ($read(expletives.txt,n,%n)) {
if ($v1 isin $1-) {
kick $chan $nick Your message contained badword $qt($v1)
break
}
inc %n
}
I think that's what I'm looking for. Thanks. I have a question though. This line:
while ($read(C:\IcyBot2\expletives.txt,n,%n))
doesn't seem to have the while compare against something. Is that the same as
!= $null?