Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Need help with either !crl or template names

Customizable Roll Listener.  My session has DnD 5e by roll20 as a sheet and I just want to know how to make the listener seek out the npc statblocks ability checks and saving throws.  Actually what I'd really like to know is the "template" entry for just about every roll there is.  The ONLY template I have gotten the listener to see is "atkdmg".  Also it seems to constantly throw errors into the log whenever an "atkdmg" roll is made in the session which is mildly annoying.  So anyone know the exact entries I put in for templates for player sheet d20 rolls and npc d20 rolls in CRL?
1602222486

Edited 1602222507
Oosh
Sheet Author
API Scripter
This page lists most of the available templates, though it's a bit outdated. For PCs you have atkdmg  if damage is set to auto-roll. If the damage is rolled manually, you have the separate atk and dmg templates. NPCs got a little more complicated recently, and that wiki page hasn't been updated. NPC action with no attack roll goes to npcaction ... I think you can ignore this one, if you only want rolls. NPC attack with auto-roll damage: npcfullatk NPC attack with manually rolled damage: npcatk and npcdmg
npcaction is not working.  I'm trying to get a fumble for when I run a save on a character sheet which I think is usually just a skill check unless the creature has proficiency in the save then it says save.  But they are just D20 rolls and when I hit the up arrow it just says "npc" for the template.  Also it seems that there is a minimum character limit for !crl cause if I do just 3 characters for the template even though it seems like it should work, it doesn't.  Nothing is picked up.   Secondly whenever I do have a template that matches right like for example:  atkdmg....I get the following error for every time that template is rolled:  CRL ERROR ||| Ability: XXXXXX was not parseable. You may want to remove/update this ability via the config menu." Currently the CRL only "works" with "atkdmg" with the OGL 5e sheet for me.  While still throwing the above error.  I can get a non template listener to work but then it fires for every 1 rolled on a dice roll and every nat 20 roll but only for the character sheets.
1602384237

Edited 1602384259
Oosh
Sheet Author
API Scripter
Oh sorry, didn't read the bit about ability checks and saving throws - so yep, that would be the npc template. I don't have API and haven't used the script, but does this work? !crl \\create,name=Listener1,template=npc,text=r1=##  \\doThings
1602385680

Edited 1602385884
This worked perfectly.  I even think using r2=## even fixes the issue of advantage templates not firing the fumbles and criticals, only downside is I have to run 2 of every listener that utilizes it.   EDIT:  It does still however have the issue where the listener has the parseable error in it.  But as long as that is a non issue I'm fine for now thanks!