User Tools

Site Tools



The material on this site is owned by Samuel Penn, and any queries should be directed there. Most of the material on this site is licensed under CC-BY-SA.


This is an old revision of the document!

Roll20 Scripts

Since the campaign is being run in Roll20, I have written some scripts to help make it easier for me to run things. They are all available on GitHub.




This lists all defined attacks for the selected token. Selecting an attack will make an attack skill roll and a damage roll.


/r 2d6 + {@{selected|mod-Dexterity},@{selected|mod-Intellect}}kh1 &{tracker}

Used to roll initiative for the selected token. Takes the highest of Dexterity and Intellect, and adds that modified to 2d6.



Lists all the defined skills for the selected token. Each skill can be clicked on in order to roll it.

API Commands

The above use some of the API commands available.


This makes an attack, possibly with modifiers.

!attack pistol
!attack laser rifle
!attack laser rifle +2
!attack pistol +
!attack pistol +2 -

An attack is rolled for skill and damage with the named attack for the currently selected tokens. If multiple tokens are selected, then they each make an attack.

If a +N/-N modifier is specified, then the DM is applied to the dice roll.

If a single +/- is specified, then it is treated as a Boon or Bane, rolling 3d6 and keeping the highest two (Boon) or lowest two (Bane).


This makes a skill roll with a given characteristic, possibly with modifiers.

!skill int admin
islandsintherift/roll20.1591903698.txt.gz · Last modified: 2020/06/11 19:28 by sam