world.GetLinesInBufferCount

MUSHclient script function (Method) — introduced in version 3.18

Returns the number of lines in the output window

Prototype

long GetLinesInBufferCount();

Data type meanings

Description

This returns the number of lines in the output buffer (window) of this world.

It will differ from GetLineCount once the number of lines received exceeds the size of the buffer (as early ones will be discarded).

VBscript example

world.note world.GetLinesInBufferCount

Jscript example

world.note(world.GetLinesInBufferCount());

PerlScript example

$world->note($world->GetLinesInBufferCount());

Python example

world.note(world.GetLinesInBufferCount)

Lua example

Note(GetLinesInBufferCount())

Return value

The number of lines in the output buffer (output window) of this world.

Related topic

Information

See also

FunctionDescription
GetLineCountGets count of lines received
GetLineInfoGets details about a specified line in the output window