It's possible but it's not very efficient
on *:text:*:#channel:{
var %a 1,%b $lines(listofexpr.txt)
while (%a <= %b) {
if ($read(listofexpr.txt,tn,%a) iswm $1-) {
if ($nick == nickname) {
window -e @TEST
echo @TEST $timestamp $1-
return
}
}
inc %a
}
}
The file listofexpr.txt must be placed in $mircdir
This can be made faster but if you only have a couple of small expression in the file it should be fine.
The best would be to use $hfind(,,W,<N>) function on item, and adding expression as item without data and saving only item to the text file, resulting in one expression per line I believe.