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

Whisper to all those whose passive skill meets a DC

I'm looking for a script that will allow me to send a whispered message to all the players whose characters have a passive skill above a certain threshold. There are often hidden things that are visible to those with passives high enough, and I'd love to, rather than tell the whole party, or have to check their passives and then send a bunch of individual whispers, be able to do something like this: !whisper-passives --perception --18 --"You notice a slight movement behind the tapestry, as if by as slight breeze." I feel like this must already exist out there, but, if so, my search skills weren't up to the task. Does this ring a bell for anyone? If not, can anyone confirm for me that this is possible for me to script myself? I'd hate to get elbow-deep in code only to run up against a constraint of which I was unaware, and have wasted my time. Thanks for any help you can provide!
1630448463

Edited 1630448504
Finderski
Pro
Sheet Author
Compendium Curator
You could create a character for passive DC 18 and assign all the players who meet that criteria to that sheet. Then you just whisper to that character. 
I'm not aware of a script that does this already.  There is the  Tongues script  but it's for languages and I've never been able to get it to work reliably. But you can do this without a script if the passive perception DC is not going to change often using a ' Language Placeholder' character . You could create a character called 'PP18' and give control (but not view) access to just the players controlling characters who have a Passive Perception of at least 18.  Then just whisper to 'PP18' and only the players who have control access will see the message. Then if you need to you could repeat that for several 'levels' of Passive Perception, or just create the specific groupings that you need based on the group of characters you have. If you have a group that changes often, or you use some kind of dynamic abilities, then that would require a script.
1630460136
timmaugh
Pro
API Scripter
Not yet. ;-) I have a metascript in the cooker that, when paired with something like DiscreteWhisper , could give some robust outputs. For instance: Everyone might get part of a base message, and only those who pass some test get extra information. In fact, there's no reason why DiscreteWhisper couldn't work with the DC18 trick mentioned, above. Tell the DC10 people one thing, but tell the DC18 people something extra at the same time.
Rumor Mill could possibly be tortured into doing that. Nick Olivo did a video about the script :<a href="https://www.youtube.com/watch?v=UDNs9o0mJco&amp;list=WL&amp;index=1&amp;t=422s" rel="nofollow">https://www.youtube.com/watch?v=UDNs9o0mJco&amp;list=WL&amp;index=1&amp;t=422s</a>
Thanks for the responses! I think I should be able to cobble something together out of what I can pull from Rumor Mill and DiscreteWhisper. If I'm successful, I'll post a GitHub link here where it can be found.