IsLogOpen
Script function

world.IsLogOpen

DOC_scripting Read about scripting

Type

Method

Summary

Tests to see if a log file is open

Prototype

boolean IsLogOpen();

DOC_data_types View list of 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.




See Also ...

Topic

DOC_logging Logging

Functions

FNC_CloseLog CloseLog (Closes the log file)
FNC_FlushLog FlushLog (Flushes the log file to disk)
FNC_LogInput LogInput (The property of whether commands are logged to the log file)
FNC_LogNotes LogNotes (The property of whether notes are logged to the log file)
FNC_LogOutput LogOutput (The property of whether MUD output is logged to the log file)
FNC_LogSend LogSend (Sends a message to the MUD and logs it)
FNC_OpenLog OpenLog (Opens a log file.)
FNC_WriteLog WriteLog (Writes to the log file)

(Help topic: function=IsLogOpen)

DOC_contents Documentation contents page