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

Critical and Whispering

Is there a way to use the Critical script and have it whisper the result to GM instead of everyone in game?
1595376532
The Aaron
Roll20 Production Team
API Scripter
Which script are you talking about, can you link to it?
1595376696
The Aaron
Roll20 Production Team
API Scripter
If you're talking about the one by Ryan Jentzsch, you can replace lines 96-105 with: // Sanity check if (smash) { // Send the critical result as a formatted string in chat sendChat('Critical Hit', "/w gm "+ rolled.toString() + "% <b>" + smash.result + "</b><br><i><b>Slash: </b>" + smash.slash + '</i><br><i><b>Blunt: </b>' + smash.blunt + '</i><br><i><b>Pierce: </b>' + smash.pierce + '</i>'); } else { sendChat('Critical Hit', '/w gm Invalid % roll given, or something went wrong. GM makes something up.'); }
Yes I was and thank you so much!
1595377027
The Aaron
Roll20 Production Team
API Scripter
No problem. =D