world.IsLogOpen

MUSHclient script function (Method)

Tests to see if a log file is open

Prototype

boolean IsLogOpen();

Data type meanings

Description

This returns true if the log file is currently open.

VBscript example

world.note world.IsLogOpen

Jscript example

world.note(world.IsLogOpen());

PerlScript example

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

Python example

world.note(world.IsLogOpen)

Lua example

Note(IsLogOpen())

Return value

TRUE if world connected
FALSE if not connected

Note: TRUE is a non-zero value, FALSE is the value 0.

Related topic

Logging

See also

FunctionDescription
CloseLogCloses the log file
OpenLogOpens a log file.
WriteLogWrites to the log file