Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Tim R."

From Roll20 Wiki

Jump to: navigation, search
m (link to wiki page)
(info on Meta-Toolbox)
Line 1: Line 1:
 
'''{{user profile|5962076|timmaugh}}''' is creator of a number of [[API]] library scripts, most which are used for extending or helping other APIs.
 
'''{{user profile|5962076|timmaugh}}''' is creator of a number of [[API]] library scripts, most which are used for extending or helping other APIs.
 +
[[File:ZeroFrameConfig.png|thumbnail|500px| {{fpl|10005704/ (Meta Script) ZeroFrame}} API menu, tracking managing other APIs installed]]
  
* '''[[APILogic]]''' -- Gives If/ElseIf/Else Processing to Other Scripts ({{forum|permalink/9771314/ APILogic thread}})
+
==API==
 +
APIs created by timmaugh
 +
==The API Meta-Toolbox==
 +
'''{{fpl|10005695/(Script Set) The Meta-Toolbox}}'''
 +
 
 +
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.''' {{fpl|10005704/ (Meta Script) ZeroFrame}} 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.
 +
* {{fpl|10005704/ (Meta Script) ZeroFrame}} - one script to control them all
 +
* {{forum|permalink/9817678/ SelectManager}} -- preserves Token selection between different APIs
 +
* {{fpl|10005710/ (Meta Script) Muler}} - get/set variables, static tables
 +
* {{fpl|10005732/ (Meta Script) Fetch - retrieve attributes, repeating attributes, abilities, or token properties
 +
* {{fpl|10005717/ (Meta Script) MathOps}} - inline math operations and nested formulas
 +
* {{fpl|10005724/ (Meta Script) Plugger}} - give scripts and plugins zero-order priority
 +
 
 +
* [[APILogic]] -- Gives If/ElseIf/Else Processing to Other Scripts ({{forum|permalink/9771314/ APILogic thread}})
 +
 
 +
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==
 
* '''{{forum|permalink/9430875/ DiscreteWhisper}}''' -- multi-recipient whispers with asides and buttons
 
* '''{{forum|permalink/9430875/ DiscreteWhisper}}''' -- multi-recipient whispers with asides and buttons
 
* '''{{forum|permalink/9770117/ libInline}}''' - provides an easy interface for [[inline rolls]]
 
* '''{{forum|permalink/9770117/ libInline}}''' - provides an easy interface for [[inline rolls]]
 
* '''{{forum|permalink/9097236/ InsertArg}}''' -- script preamp, siege engine, menu maker, command line constructor
 
* '''{{forum|permalink/9097236/ InsertArg}}''' -- script preamp, siege engine, menu maker, command line constructor
* '''{{forum|permalink/9817678/ SelectManager}}''' -- Utility to Preserve the Selected Tokens For API-Generated Calls
 
 
* [[Script:HeroRoller]] -- API for the Hero System 6E game
 
* [[Script:HeroRoller]] -- API for the Hero System 6E game
 
<br>
 
<br>

Revision as of 13:35, 9 June 2021

timmaugh is creator of a number of API library scripts, most which are used for extending or helping other APIs.

API menu, tracking managing other APIs installed

API

APIs created by timmaugh

The API Meta-Toolbox

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. 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.

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