Try this:

Code:
alias fnick { 
  filter -gwf $active nul /^<[\Q $prefix \E]? $1 >\s.+/ix 
  echo 2 -a * $1 wrote $filtered lines. 
}