Console (class)

From PGE Wiki
Jump to: navigation, 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).