← All packages

REPLet

Lua REPL in a UserWindow or Adjustable.Container

Download .mpackage
Version
1.1.1
Author
Demonnic
Created
28 Jun 2022
Updated
25 Jan 2025

Install from Mudlet's command line

mpkg install REPLet

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

REPLet - the Mudlet Lua REPL

This package replicates the functionality of the lua alias inside its own UserWindow It comes with a single alias, replet, which opens the REPLet console. From there, you can execute arbitrary lua code and see the results in the console.

Once you have the console open, you can type usage within the console for the extra commands which REPLet comes with, in addition to executing code.

By default, adds recho(msg), rcecho(msg) etc to allow for easy c/d/h/echoing directly to the console. Also adds rdisplay, which works like display() but prints to the REPLet console. If this covers over functions you already have and want to use in the console, use addEchos false in the REPLet console's command line.

Why REPLet?

REPL is an acronym which stands for Read Execute Print Loop and is the term for interactive code runners like this. So I squashed it together with Mudlet to make REPLet.

Alias (1)

Script (1)

Files (4)

711 KB unpacked

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