← All packages

run-lua-code

Run Lua code directly from the command line.

Download .mpackage
Version
6
Author
Mudlet Default Package
Created
27 Aug 2024
Updated
28 Aug 2026

Install from Mudlet's command line

mpkg install run-lua-code

Mudlet 4.20+ with mpkg installed

Or drag it in

Drag into MudletDrop it on the main window

Mudlet 4.11+ · click to download instead

Description

run-lua-code

A simple package that provides a lua alias that allows the user to run Lua code from the command line.

-- examples
> lua echo("Lua from the command line")  -- runs the Lua echo function displaying text on the main screen
> lua send("look")                       -- send the command 'look' to the game server
> lua showColors()                       -- display a color palette

Alias (1)

Files (3)

29 KB unpacked

Select a script or file on the left to preview it here.