getvalueat
Dynamic Value Retrieval for Lua Scripting
- Version
- 1
- Author
- demonnic
- Created
- 10 Jul 2019
- Updated
- 6 Feb 2025
Install from Mudlet's command line
mpkg install getvalueatMudlet 4.20+ with mpkg installed
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.