%nickname = the_nickname_to_search_for, maybe $2 ...
%found = $read(file.txt, s, %nickname)
/if (%found) {
%time = $mid(%found, 3, 8)
%date = $mid(%found, 12, 10)
%ctime = $ctime(%date %time)
%print = $format_time($calc($ctime - %ctime))
/msg $chan %nickname %found :: %print ago
}
/else {
/msg $chan Nothing was found about %nickname
}
/unset %found
/unset %print
/unset %nickname