This is how I do it.
Code:
on *:sockread:b_rlist.*:{
  if ($Sockerr > 0) return
  sockread -n &brL
  if ($sockbr = 0) return
echo -s . $bvar(&brL,1-).text
}