Difference between revisions of "Script:Example"
From Roll20 Wiki
Stephen K. (Talk | contribs) |
Stephen K. (Talk | contribs) |
||
Line 7: | Line 7: | ||
This is an example of an API script listing to demonstrate the format we'd like contributors to mimic. Keeping a unified look will lower the barrier to entry for mentors just learning how to use API scripts in their games. In this space we're looking for a general description of the script and it's use. If there a specific installation instructions you should make a note of it here but detail them in the Readme.txt and optionally below in it's own section. | This is an example of an API script listing to demonstrate the format we'd like contributors to mimic. Keeping a unified look will lower the barrier to entry for mentors just learning how to use API scripts in their games. In this space we're looking for a general description of the script and it's use. If there a specific installation instructions you should make a note of it here but detail them in the Readme.txt and optionally below in it's own section. | ||
+ | |||
+ | Please do not add a Code section to the wiki. Code listed here would become deprecated very easily and GitHub is the official source for that data. Please only link to the data from the menu to the right. | ||
== Syntax == | == Syntax == | ||
Line 16: | Line 18: | ||
== Installation and Configuration == | == Installation and Configuration == | ||
− | Copy the script's code, available from the menu on the right and stored at Roll20's GitHub Repository. Paste the code into a new script in your campaign's [[API:Use_Guide#The_Script_Editor|API Script Editor]] | + | Copy the script's code, available from the menu on the right and stored at Roll20's [https://github.com/Roll20/roll20-api-scripts API GitHub Repository]. Paste the code into a new script in your campaign's [[API:Use_Guide#The_Script_Editor|API Script Editor]] |
== Changelog == | == Changelog == |
Revision as of 17:08, 7 January 2015
Version: 1.0
Last Modified: 2015-01-06
Code: Bloodied and Dead Status Markers
Dependencies: None
Conflicts: None
This is an example of an API script listing to demonstrate the format we'd like contributors to mimic. Keeping a unified look will lower the barrier to entry for mentors just learning how to use API scripts in their games. In this space we're looking for a general description of the script and it's use. If there a specific installation instructions you should make a note of it here but detail them in the Readme.txt and optionally below in it's own section.
Please do not add a Code section to the wiki. Code listed here would become deprecated very easily and GitHub is the official source for that data. Please only link to the data from the menu to the right.
Syntax
!example
!example 3
!example off
Installation and Configuration
Copy the script's code, available from the menu on the right and stored at Roll20's API GitHub Repository. Paste the code into a new script in your campaign's API Script Editor
Changelog
v.1.1 (2015-01-07)
- Included better documentation
- Fixed formatting issues
v.1.0 (2015-01-06)
- Release