Difference between revisions of "Script:Flip Tokens"
From Roll20 Wiki
(new) |
m |
||
(11 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{script overview | |
+ | |name=Flip Tokens | ||
+ | |author={{user profile|235259|Brian}} | ||
+ | |version=2.3 | ||
+ | |dependencies={{api repository link|splitArgs}} | ||
+ | |lastmodified=2016-03-09}} | ||
− | + | '''Flip Tokens''' creates the API command <code>!flip</code>, which flips the selected graphics horizontally or vertically (or both). | |
− | < | + | <br clear="all"> |
− | === | + | === Syntax === |
− | + | {{syntaxbox top|formal=true|Flip Tokens}} | |
− | + | {{API command|flip}} {{API parameter|name=direction|optional=true}} | |
− | + | {{Formal API command| | |
− | + | {{token|S}} {{rarr}} {{API command|flip}} {{token|directionList|-}} | |
− | + | {{token|directionList}} {{rarr}} {{epsilon}} | |
− | + | {{token|directionList}} {{rarr}} horizontal {{token|directionList|-}} | |
− | + | {{token|directionList}} {{rarr}} vertical {{token|directionList}} | |
− | + | }} | |
− | + | {{syntaxbox end}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | + | ||
− | + | {{param description top}} | |
− | + | {{param description|name=direction|value=The flip direction can be either <code>horizontal</code> or <code>vertical</code>. You can use any number of directions, which will be executed in order.}} | |
+ | {{param description bottom}} | ||
+ | |||
+ | === Changelog === | ||
+ | {{changelog version|2.3|2016-03-09|* Update for one-click install}} | ||
+ | {{changelog version|2.2|2015-01-24|* [bugfix] no-arg crash}} | ||
+ | {{changelog version|2.1|2015-01-22|* Fixed transcription error}} | ||
+ | {{changelog version|2.0|2015-01-08|* Release}} |
Latest revision as of 04:49, 13 April 2016
API ScriptAuthor: Brian
Version: 2.3
Last Modified: 2016-03-09
Code: Flip Tokens
Dependencies: splitArgs
Conflicts: None
Version: 2.3
Last Modified: 2016-03-09
Code: Flip Tokens
Dependencies: splitArgs
Conflicts: None
Flip Tokens creates the API command !flip
, which flips the selected graphics horizontally or vertically (or both).
[edit] Syntax
!flip [direction]Formally:
S
→ !flipdirectionList
directionList
→ ε
directionList
→ horizontaldirectionList
directionList
→ verticaldirectionList
Parameter | Values |
---|---|
direction | The flip direction can be either horizontal or vertical . You can use any number of directions, which will be executed in order.
|
[edit] Changelog
v2.3 (2016-03-09)
- Update for one-click install
v2.2 (2015-01-24)
- [bugfix] no-arg crash
v2.1 (2015-01-22)
- Fixed transcription error
v2.0 (2015-01-08)
- Release