wait-and-wait-line
Wait-and-Wait-Line Coroutine Utility
- Version
- 1
- Author
- zhenzh
- Created
- 19 Apr 2020
- Updated
- 5 Feb 2025
Install from Mudlet's command line
mpkg install wait-and-wait-lineMudlet 4.20+ with mpkg installed
Description
This software package provides a coroutine-based waiting mechanism in Lua that allows developers to suspend function execution for a specified time or until a specific pattern is matched. It enables modular function chaining by using wait() and wait_line() functions, which can pause execution, wait for a specific time interval, or wait for matched input patterns. The package is particularly useful for creating sequential, time-dependent, or pattern-matching script flows in Lua applications.
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)
4.6 KB unpacked
Select a script or file on the left to preview it here.