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

Unwanted text showing up in Chat

Hi There, I'm using the Roll 20 Audio Master script to make cool sounds on various attacks and spells.  I'm getting the cool sounds to happen, but I'm getting unwanted text showing up in the chat.  How do I clean this up?  I know it's something simple but I can't figure it out. Example: I have this in the attacks and spellcasting description for the spell: }} !roll20AM --audio,play,nomenu|thunder ! And then I'm getting the sound (which is great), but them I'm also getting this in the chat after it: }} {{spelllevel=3}} {{innate=}} {{globalattack=}} {{globaldamage=0}} {{globaldamagecrit=0}} {{globaldamagetype=}} ammo= charname=Chronus Magnus I don't want to see this extra stuff.  How do I clean this up? (also see screenshots).
1603642492
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
IIRC, the D&D 5th Edition by Roll20 Sheet's attack roll template was changed quite some time ago. The order of tags was changed, which makes the  }} !API command ! trick impossible. It was a hack to begin with. The best solution is to turn it into a button. It's an extra click, but it works: [Play sound](!roll20AM --audio,play,nomenu|thunder)
Thanks Keith for the information and solution.  Great help as always.  Much appreciated!