@lua
Description
COMMAND: @lua[/
Executes a Lua 5.4 script stored in the specified attribute on the given object. The script runs as the invoking player and has access to the mux helper table for interacting with the MUX environment.
If present,
/stats - Displays aggregate Lua execution counters including total invocations and resource usage.
/inline - (Wizard only) Executes the argument as an inline Lua chunk rather than reading from an attribute.
The Lua module is optional and must be enabled at build time. If Lua support is not compiled in, this command is unavailable.
Examples
> @lua me/LUASCRIPT
Executes the Lua script stored in the LUASCRIPT attribute on yourself.
> @lua/stats me/LUASCRIPT
Executes the script and displays Lua execution statistics.