Syntax: #CAP [number] [name]

Related: Editor window

Captures the last number lines of text, and copies them into another window. If number is missing, the last line is copied. If number is -1, all lines are copied. If ‘name’ is specified, the lines are sent to the named window (the window is created if it doesn’t exist). If ‘name’ is omitted, the lines are sent to the command editor window.

CAPTURE examples


capture the last line from the MUD and copy it into the editor window.


#TRIGGER {tells you} {#CAP tell;#GAG}

When a line containing the string ‘tells you’ is received from the MUD, the capture command copies the line to the tell window, and the gags it from the current window.

Contents #CALL #CASE