← All packages

getvalueat

Dynamic Value Retrieval for Lua Scripting

Download .mpackage
Version
1
Author
demonnic
Created
10 Jul 2019
Updated
6 Feb 2025

Install from Mudlet's command line

mpkg install getvalueat

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

The getValueAt() function is a flexible utility that allows retrieving variable values dynamically by passing their names as strings. It enables scriptable and automated tracking of statistics by enabling indirect access to nested variable values without directly referencing them. This approach supports creating modular UI components that can easily layer on top of existing tracking systems without modifying their underlying implementation.


This package was originally shared on the Mudlet Forums by the author. We’ve automatically listed it here on packages.mudlet.org so more users can discover and benefit from it. Please let us know if you have any questions or concerns - thanks for contributing to the Mudlet community!

Script (1)

Files (2)

1.9 KB unpacked

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