.txt checking made easy!
Posted by w.e
Sunday, June 12, 2005
Description: title
alias checkthisfile {
if ($2) {
if ($isfile($1) == $true) {
var %f 1
while (%f <= $lines($1)) {
if ($2 isin $read($1,%f)) {
return $true
var %sai 1
}
if (%sai != 1) && (%f == $lines($1)) { return $false }
inc %f
}
}
unset %saidsom
}
}