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 "Script:autoButtons"

From Roll20 Wiki

Jump to: navigation, search
(create API info page)
 
m
 
Line 11: Line 11:
  
 
The script reacts to [[Roll Templates]] posted to the {{Text Chat}}, and posts back some damage buttons for simple application of damage/healing to the selected [[token]](s). It's dead simple, really.
 
The script reacts to [[Roll Templates]] posted to the {{Text Chat}}, and posts back some damage buttons for simple application of damage/healing to the selected [[token]](s). It's dead simple, really.
 +
 +
By default it comes configured to the {{5E}}, but can be customized to work with any sheet.
 +
 +
The API is being refactored to make it easier to integrate presets for other sheets/systems, among things.
  
 
==Commands==
 
==Commands==
For more documentation & examples, see {{fpl|10766392/ (Script) autoButtons}}'''-forum thread
+
For more documentation & examples, see '''{{fpl|10766392/ (Script) autoButtons}}'''-forum thread
  
 
'''Keyword:''' {{c|!autoButton}}
 
'''Keyword:''' {{c|!autoButton}}
Line 31: Line 35:
 
[[Category:API User Documentation]]
 
[[Category:API User Documentation]]
 
[[Category:API Commands]]
 
[[Category:API Commands]]
[[Category:Combat]]
+
[[Category:Combat/Initiative]]
 +
[[Category:DnD5E]]

Latest revision as of 08:18, 30 March 2022

Example of AutoButtons(v.0.4.5) in action.

Main Page: API:Script Index

autoButtons is for streamlining the application of damage and heals. Created by Oosh

[edit] Overview

So... what's all this then?

The script reacts to Roll Templates posted to the q Text Chat, and posts back some damage buttons for simple application of damage/healing to the selected token(s). It's dead simple, really.

By default it comes configured to the D&D 5E by Roll20
Character   Sheet
, but can be customized to work with any sheet.

The API is being refactored to make it easier to integrate presets for other sheets/systems, among things.

[edit] Commands

For more documentation & examples, see (Script) autoButtons(Forum)-forum thread

Keyword: !autoButton

  • --listButtons / --buttons

Generates a list of buttons currently available for use, e.g:

!autoButton --buttons
AutoButtons-list-v045.png

From left to right, the controls are "Show button", "Hide button", "Delete button". Controls are greyed out when nonsensical - you can't "Show" a button which is already shown on the button template, and you cannot "Hide" a button which isn't currently enabled.