Skip to content

Instantly share code, notes, and snippets.

View joesinghaus's full-sized avatar

Jakob Oesinghaus joesinghaus

View GitHub Profile
@joesinghaus
joesinghaus / syncTableToken.js
Last active April 18, 2017 19:52
Syncing rollable table tokens with attribute values in Roll20
// Version: 2017-04-17
// Description: This an API script for Roll20 that allows you to sync rollable table tokens
// with the value of an attribute.
// Usage: Create a rollable table where the x-th entry of the table corresponds to value x
// of the attribute.
//
// * Adding tokens to sync: Create one or more rollable table tokens. Set them to represent
// the character you want them to synchronise with. Select the tokens and enter
// !sync-table add <name>,
// where <name> is the name of the attribute to sync with, e.g. !sync-table add stress.