Tim R.
From Roll20 Wiki
timmaugh is creator of a number of API library scripts, most which are used for extending or helping other APIs.
API
APIs created by timmaugh
The API Meta-Toolbox
Set) The Meta-Toolbox(Forum)
ABSTRACT: Meta-scripts intercept a chat message meant for other scripts, allowing you a way to modify the message before the intended-recipient script even gets involved. Since meta-scripts apply to any script call, they effectively provide ways to extend the Roll20 commands and interface. (Meta Script) ZeroFrame(Forum) loops over the toolbox of other scripts, allowing them to operate on the message in turn, altering it to your needs, before releasing it to the intended-recipient script or (if desired) outputting it as a simple chat message.
The Meta-Toolbox is broken down into multiple individual APIs, to make their management & learning easier.
- (Meta Script) ZeroFrame(Forum) - one script to control them all
- SelectManager(Forum) -- preserves Token selection between different APIs
- (Meta Script) Muler(Forum) - get/set variables, static tables
- {{fpl|10005732/ (Meta Script) Fetch - retrieve attributes, repeating attributes, abilities, or token properties
- (Meta Script) MathOps(Forum) - inline math operations and nested formulas
- (Meta Script) Plugger(Forum) - give scripts and plugins zero-order priority
- APILogic -- Gives If/ElseIf/Else Processing to Other Scripts (APILogic thread(Forum))
For example, these scripts provide a way to retrieve token properties (including properties not usually available to you, like a token's currentside, last move, etc.), sheet items, and even repeating items. You can retrieve things based on the speaker, token id, character id, or proximate names, and all while providing a default value if the thing isn't found. The scripts also provide the ability to perform inline math operations, store and retrieve variables, select tokens, remember selected tokens for downstream API calls (which would otherwise forget that there are tokens selected). The scripts give you IF/ELSE logic branching, inline unpacking of inline rolls, and the ability to plug in your own scriptlets to take advantage of the meta interaction.
In other words, there is a LOT of stuff these things can do. Oh, and they work together.
You do not need all of these scripts for any individual one to work, but they each offer something different. The scripts in this set can run on their own or as a part of the ZeroFrame loop. With ZeroFrame installed, you can control the order that the operations are executed, and the series of scripts is looped over until they all report that they are finished with the message. This gives incredible flexibility to the way you can retrieve and process information on the fly.
Other APIs
- DiscreteWhisper(Forum) -- multi-recipient whispers with asides and buttons
- libInline(Forum) - provides an easy interface for inline rolls
- InsertArg(Forum) -- script preamp, siege engine, menu maker, command line constructor
- Script:HeroRoller -- API for the Hero System 6E game