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

[API] /direct for whispers

Score + 18
October 07 (10 years ago)
The Aaron
Pro
API Scripter
There is currently a mechanic in the API for sending HTML directly to the chat, without trashing the formatting. However, sending HTML via a whisper seriously munges the HTML, making it difficult to send nice format to only a single individual.

I suggest adding something like:
/wdirect
/whisperd
/directw
/dwhisper
or the like to allow sending nicely formatted output to individual players.
October 09 (10 years ago)

Edited October 09 (10 years ago)
That would be really nice.
I have a lot of formatting done on my scripts that I'd like to use in whispers...
Even if most of what I use seems to work fine in whispers...
October 09 (10 years ago)
The Aaron
Pro
API Scripter
There are only a few things I've run across, but they are sufficiently annoying that I'd like an official solution!
I'd actually suggest making a SendChatDirect command and allow the normal /me /w and so on in that command instead (So you can use the background color formatting of those commands)
November 08 (10 years ago)
The Aaron
Pro
API Scripter
Technically, you would still be able to do those things by writing the correct CSS, but I'm perfectly happy for any solution that give us this behavior. I merely wrote the suggestion to match the /direct command we have already. =D
May 19 (8 years ago)
TheWhiteWolves
KS Backer
API Scripter
I'm going to +1 this because I really need it right now.
May 19 (8 years ago)
The Aaron
Pro
API Scripter
Actually, I've not experienced any issues in about a year, this might not be necessary anymore. Do you have a specific case that is broken?