console.command
Console command handle returned by console.<name> and console.commands().
Returned by console.<name> and console.commands().
| Operation | Returns |
|---|---|
cmd:name() | Name string or nil. |
cmd:description() | Help text or nil. |
cmd:flags() | uint64_t or nil. |
cmd(...) | No values. |
tostring(cmd) | console.command<name>. |
Calling the object runs the command immediately with string and number arguments joined by spaces. It bypasses the command buffer and both console_input and string_cmd. Semicolons are literal characters, not command separators. Text over 510 characters is ignored.
