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:Flip Tokens"

From Roll20 Wiki

Jump to: navigation, search
(Changelog)
m
Line 6: Line 6:
 
|lastmodified=2015-01-08}}
 
|lastmodified=2015-01-08}}
  
The following script creates the API command <code>!flip</code>, which flips the selected graphics horizontally or vertically (or both).
+
'''Flip Tokens''' creates the API command <code>!flip</code>, which flips the selected graphics horizontally or vertically (or both).
 
<br clear="all">
 
<br clear="all">
  

Revision as of 17:48, 13 January 2015

API ScriptAuthor: Brian
Version: 2.0
Last Modified: 2015-01-08
Code: Flip Tokens
Dependencies: splitArgs
Conflicts: None

Flip Tokens creates the API command !flip, which flips the selected graphics horizontally or vertically (or both).

Syntax

!flip [direction]
Formally:

S

→ !flip directionList


directionList

→ ε

directionList

→ horizontal directionList


directionList

→ vertical directionList


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.

Changelog

v2.0 (2015-01-08)

  • Release