Difference between revisions of "Script:autoButtons"
From Roll20 Wiki
Andreas J. (Talk | contribs) (create API info page) |
Andreas J. (Talk | contribs) 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
Page Updated: 2022-03-30 |
Main Page: API:Script Index
autoButtons is for streamlining the application of damage and heals. Created by Oosh
- (Script) autoButtons(Forum)-forum thread for Full info
- sourcecode - install & download
[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 Roll20The 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
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.