Console (class)

From Moondust Wiki
Revision as of 13:26, 1 June 2021 by Wohlstand (talk | contribs) (Text replacement - "||2=" to "|2=")
Jump to navigation Jump to search

This class provides interaction with a console.

You can get the default console window by starting smbx with the "--console" argument. Further information can be found at LunaLua Command Args. The default instance of this console window is called "console".

Console class
Type Function/Field Return values/Value type Description
function Console:print(string text) nil Prints out the text in the console.
function Console:println(string text) nil Prints out the text in the console and breaks the line (\n).