# $EPIC: lastlog_function.txt,v 1.3 2007/03/02 02:32:04 jnelson Exp $
$lastlog(<window> <pattern> <level> …)
The <pattern> argument is a dword, which is different from most function arguments.
This function searches the lastlog buffer of window <window> for lines matching <pattern> _and_ with lastlog level matching any of <level>. All arguments are required, but you can specify additional <level>s. If you wish all lines matching <pattern> to be returned, specify <level> as ALL.
A space separated list of matching lines is returned. These can be applied to $line(6) iff the window has not been altered since this function was called.