With the extended stopwatch functionality in Mudlet 4.4.0 I decided to write a quick wrapper around Mudlet stopwatches to provide an object like interface to them, not unlike how Geyser provides an object like interface to labels, miniconsoles, and the like.
This is largely a convenience, though I did add a few functions which are more than just wrappers, primarily :isRunning() which returns true if the stopwatch is running, and false otherwise. :getTime() takes an optional format string kind of like getTime() does.
I also included :getExpandedTable(), which finds and returns the table from the output of getStopWatches() for , which contains the most complete information on any given stopwatch it seems.
The github project for this is at https://github.com/demonnic/stopwatches and the wiki is https://github.com/demonnic/stopwatches/wiki
Share your scripts and packages with other Mudlet users.
1 post • Page 1 of 1