Difference between revisions of "Script:Flip Tokens"
From Roll20 Wiki
m (→Syntax) |
|||
Line 3: | Line 3: | ||
|author={{user profile|235259|Brian}} | |author={{user profile|235259|Brian}} | ||
|version=2.0 | |version=2.0 | ||
+ | |dependencies={{api repository link|splitArgs}} | ||
|lastmodified=2015-01-08}} | |lastmodified=2015-01-08}} | ||
Revision as of 22:56, 9 January 2015
API ScriptAuthor: Brian
Version: 2.0
Last Modified: 2015-01-08
Code: Flip Tokens
Dependencies: splitArgs
Conflicts: None
Version: 2.0
Last Modified: 2015-01-08
Code: Flip Tokens
Dependencies: splitArgs
Conflicts: None
The following script creates the API command !flip
, which flips the selected graphics horizontally or vertically (or both).
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.
|