nanos world API Reference Unofficial documentation
Static function Shared Moderate

Console.RunCommand

Runs a Console Command programmatically (only scripting-registered commands can be triggered)

Syntax

Lua
Console.RunCommand(command)

Parameters

Name Type Default Description
command string The command

Examples

Running a Console Command
Console.RunCommand("hello")