Site Tools


lastlog_function

# $EPIC: lastlog_function.txt,v 1.3 2007/03/02 02:32:04 jnelson Exp $

Synopsis:

$lastlog(<window> <pattern> <level> …)

Technical:

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.

  • <window> specifies the window to be searched.
  • <pattern> specifies the pattern to match the line against.
  • <level> specifies lastlog levels to match lines against.

Practical:

Returns:

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.

Examples:

lastlog_function.txt · Last modified: 2007/03/02 02:32 by 127.0.0.1