Skip to main content

lje (base)

Global functions exposed directly on the `lje` table.

Functions

lje.include(path, execute?)

Loads a script file relative to the current script's directory. Optionally controls whether the script is executed immediately after loading. Defaults to executing if the second argument is omitted.

Parameters

NameTypeDescription
pathstring

Path to the script file, relative to the current script.

execute?boolean

Whether to execute the script after loading. Defaults to true.

lje.con_print(msg)

Prints a message to the console, prefixed with [LJE CONSOLE].

Parameters

NameTypeDescription
msgstring

The message to print.