I had done a similar file, but not as good
so I tried yours with a few mods based on what I have seen you post in the past
Code:
on *:text:!find &:#: findlines list.txt $2 5

alias findlines {
  filter -ffc $1 tmp $+(*,$$2,*)
  if ($filtered) {
    if ($ifmatch > $3) filter -ffcr $+(1-,$3) tmp tmp
    .play -nm1 $nick tmp
  }
  else notice $nick No matches for $2
}


just wondering why you chose in this case to make the txt file

note I did have to add the c to the filter command as tmp didnt clear out (not %tmp) until I added the switch, yet /remove tmp wont find it as a file
(scratch scratch)