run_lua
Run arbitrary Lua code on a Garry's Mod server and retrieve the result. Requires explicit confirmation for security.
Instructions
GUARDED. Runs arbitrary Lua server-side (RunString) and returns the resulting value. Requires confirm:true. Audited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| confirm | No | Must be true: this is a sensitive, audited action. Otherwise the call is refused. |