alias qsearch3 {
%q.lines = $lines(quotes.txt)
var %string = $+(",$1-,")
msg $active Searching for %string
filter -ffn quotes.txt quotes.tmp $+(*,$1-,*)
msg $active Found $filtered quotes matching %string out of %q.lines lines.
if $filtered { play -a MsgQuote quotes.tmp }
.remove quotes.tmp
}
alias MsgQuote msg $1 Line $2 / %q.lines --> $3-