Another solution:

Code:

;[UnderNet] Successfully Received Spotted Aluris.png [25.2kB] from Sporeman at 25.2 Kbs at 8:27pm.

on ^*:HOTLINK:*:*:{
  var %r = $sporehotline($1,$hotlinepos,$hotline)
  if (!%r) halt
}

on *:HOTLINK:*:*:{
  var %r = $sporehotline($1,$hotlinepos,$hotline)
  if (%r) echo -a $gettok($hotline,%r,32)
}

alias sporehotline {
  ;$1=$1, $2=hotlinepos, $3=$hotline
  if (!$isid) { echo -a $!sporehotline must be used as identifier | return 0 }

  var %a = $findtok($3,Received,1,32)
  if (!%a) return 0
  inc %a

  var %z = $findtok($3,from,1,32)
  if (!%z) return 0
  dec %z 2

  if ($gettok($2,1,32) isnum $+(%a,-,%z)) return $+(%a,-,%z)
  return 0  
}



This code has the possibility of being inaccurate if the word "from" is in the filename.

-genius_at_work