ScriptCards Scripts
From Roll20 Wiki
Related Links
Roll20 Forum Links:
ScriptCards Thread on the Roll20 Mod Forums
ScriptCards Mod Working and Sharing thread in the Roll20 Forums
GitHub Links:
ScriptCards Changelog on GitHub
ScriptCards API
ScriptCards Samples on the Official GitHub
Roll20 Wiki Links:
Main ScriptCards Wiki Page
ScriptCards User-submitted scripts
ScriptCards User-submitted Library Handouts
ScriptCards User-submitted Triggers
Official Discord:
ScriptCards Official Discord Channel
YouTube Tutorials:
ScriptCards Intro
ScriptCards Magic Missile Deep Dive
Working scripts for ScriptCards
This page is intended to be a centralized repository of working scripts that have been tested and are working as expected. Please describe the intended results of the script, include any screenshots/images you think will support the script and then please post the script itself.
Below you'll find the good stuff. You can also peruse the table of contents and use that for quick navigation. As long as the Script name is surrounded by "====" on both sides, it'll automatically be added to the table of contents.
Template: Example Script Name
[Expand/Collapse SCRIPT NAME]
AFTER PASTING THE TEMPLATE: DELETE THIS ROW AND BELOW This template represents some basic syntax to post a script on this page. Please be sure to copy and then paste this entire section at the end of the existing list of scripts. When updating your copy of the template, please remember the following tips: In the code just after the heading line (with the ===) be sure the span class name ends in the exact same naming as the ID on the line below the heading. If they don't match the fabric of space and time will fall apart! The first part (mw-...) will be different on each row. span class="mw-customtoggle-SCRIPT_NAME" and id="mw-customcollapsible-SCRIPT_NAME" Capitals matter, so be sure to pay close attention. AFTER PASTING THE TEMPLATE: DELETE ABOVE THIS ROW so that "Author of script" comes right after the ''div class'' line above.
Author of script: (Your Discord name)
Game/System specific? Which one:
Purpose of script: (Text)
Description of intended results: (Text)
Screenshots: (Initial screenshots; more can be added throughout the body of the contents) Images
Caveats/ Notes:(N/A if none, otherwise please describe)
Script code:
Enter script code here
Any other useful information or context can go here, after the script iself but please put any critical information in the Caveats/ Notes section before the code to ensure users are seeing it.
Note: Be sure to keep the <pre>...</pre> tags around your main script code to prevent issues with anything in the script being considered as code to the Wiki page. Use <code>...</code> for inline code snippets.
Text with the Pre tags used
This is what a snippet
looks like wrapped in code tags
.