world.GetSelectionEndLine

MUSHclient script function (Method) — introduced in version 3.18

Returns the last line of the selection in the output window

Prototype

long GetSelectionEndLine();

Data type meanings

Description

Returns a number in the range 1 to the number of lines in the output window, which is the last "selected" line.

If no selection, returns zero.

VBscript example

world.note world.GetSelectionEndLineSetSelection

Jscript example

world.note (world.GetSelectionEndLine ());

PerlScript example

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

Python example

world.note (world.GetSelectionEndLine )

Lua example

Note (GetSelectionEndLine ())

Return value

The number of the last line in the selection, or zero if no selection.

Related topic

Information

See also

FunctionDescription
GetLineInfoGets details about a specified line in the output window
GetLinesInBufferCountReturns the number of lines in the output window
GetSelectionEndColumnReturns the endling column of the selection in the output window
GetSelectionStartColumnReturns the starting column of the selection in the output window
GetSelectionStartLineReturns the starting line of the selection in the output window
SetSelectionSets a selection range in the output window