Libraries »

Console Library

console.addcmd(name,luacode,description)

Adds a custom command to the Sandcat Console
See this page for detailed information about this function.

console.clear()

Clears the contents of the Sandcat Console

console.gethandler()

Gets the current command handler
returns: string

console.reset()

Restores user settings, default handler and clears the console.

console.setcolor(htmlcolor)

Sets the background color

console.setfontcolor(htmlcolor)

Sets the font color

console.sethandler(cmdname)

Redirects all future commands to the supplied cmd name

console.write(v)

Writes the parameter to the Sandcat Console without creating a new line

console.writeln(v)

Writes a new line to the Sandcat Console

Developer

Language

Page last modified on May 15, 2013, at 11:10 AM
© 2023 Syhunt