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

What is the actual syntax to get the Roll Listener to execute a command when a critical is rolled?

I spent hours on this, but can't get this command line to work, no matter what I try. I think this is the most basic form of the syntax, but it still won't execute the sounds. I can run the  roll20AM sound command by itself, and it works and I can't get anything to trigger when a 20 (critical) is rolled. I am use D&D5e Jumpgate.  Here's the syntax I think is closest to working. What am I doing wrong? !crl \\create,name=CritCheer,text=##,roll=critical \\!roll20AM --audio,play,nomenu,single|20Crit Thanks for anyone's help!
Hey Brian. Here are the commands that work for me in a non-Jumpgate game. I have not verified this works in Jumpgate. Jumpgate causes headaches for me in other areas so I've delayed moving over to it at this point. !crl \\create,name=Critical,text=##,roll=critical,template=atk npcfullatk npcatk atkdmg \\!roll20AM --audio,play,nomenu,single|critical !crl \\create,name=Critical-2,text=r1=##,roll=critical,template=atk npcfullatk npcatk atkdmg \\!roll20AM --audio,play,nomenu,single|critical !crl \\create,name=Critical-3,text=r2=##,roll=critical,template=atk npcfullatk npcatk atkdmg \\!roll20AM --audio,play,nomenu,single|critical Other things I had to do to make the sounds work were: 1- Make sure the sound I reference is imported into roll20AM 2- change the loudness of the clip as needed within roll20AM 3- and unlock the sound clip in roll20AM Doing all of those things got my RL working for criticals
Thank you for your reply. I was able to verify that your code works in the regular roll20, but NOT in the Jumpgate version of Roll20. Very disappointing.  Thanks again for taking the time to reply!
1739323346

Edited 1739324297
Pak
Pro
oh no... sorry to hear it doesn't work in Jumpgate. Another API bites the dust... Is CRIT the only thing not working Jumpgate? or is CRL completely busted? For example, do any of these work? !crl \\create,name=Swords,text=sword \\!roll20AM --audio,play,nomenu,single|sword-hit !crl \\create,name=Scimitar,text=scimitar \\!roll20AM --audio,play,nomenu,single|scimitar !crl \\create,name=Arrows-long,text=gbow \\!roll20AM --audio,play,nomenu,single|arrow !crl \\create,name=Arrows-short,text=tbow \\!roll20AM --audio,play,nomenu,single|arrow I reached out to the API author, let's see if we can get his eyes on this thread...
Hello Pak, Those regular scripts work, it seems to me that the API is not detecting the "critical" or the inline roll of ##. Not sure which. It would be great to get attention on this as it's pretty cool to be able to plat a sound on a crit or fumble. Thanks for your help!