Try using
/filter to find the matches in the txt file, then
/play to send them to the channel.
on *:text:!V *:#:{
filter -ffg file.txt tmpresult.txt / $+ $replace($2-,$chr(32),|) $+ /i
.play # tmpresult.txt
.remove tmpresult.txt
}
The above searches in "file.txt" so change that part to whatever your file is named.
/help /filter
/help /play