Difference between revisions of "Script:Flip Tokens"
From Roll20 Wiki
m (→Syntax) |
|||
Line 9: | Line 9: | ||
=== Syntax === | === Syntax === | ||
− | {{syntaxbox top|formal=true}} | + | {{syntaxbox top|formal=true|Flip Tokens}} |
{{API command|flip}} {{API parameter|name=direction|optional=true}} | {{API command|flip}} {{API parameter|name=direction|optional=true}} | ||
{{Formal API command| | {{Formal API command| |
Revision as of 22:43, 8 January 2015
API ScriptAuthor: Brian
Version: 2.0
Last Modified: 2015-01-08
Code: Flip Tokens
Dependencies: None
Conflicts: None
Version: 2.0
Last Modified: 2015-01-08
Code: Flip Tokens
Dependencies: None
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.
|