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 .
×
May your rolls be merry + bright! 🎄
Create a free account

[BUG] Whispering people with spaces in their name

1397107689

Edited 1397107751
So, I've noticed that it is literally impossible to whisper someone who has a space in their name. So, let's say you have 3 people in your campaign all named Dave, so it attaches a space and then the person's last initial to their username. Then, the gm has to send a whisper to one of the Daves, and it goes to the Dave that was added most recently to the campaign. Procedure to reproduce the problem: Create a character in journal, name it "Dude 1". Create a character in journal, name it "Dude 2". Go to chat, type "/w Dude 1 hi" Dude 2 receives the whisper, which has this as its content: "1 hi" Info on my environment: Chrome Version 34.0.1847.116 m Windows 7 64-bit
1397130224
Gauss
Forum Champion
This is what the autocomplete is for. Type /w D and then scroll through the autocomplete list. Hit enter when you get the correct Dave.
also try /w "dude 1" hi
I've tried both of these. When I used auto-complete, it would only auto-complete up through the first name. In other words, in the above example, I typed "/w D" and then pressed tab, and the result was that I was whispering "Dude". Basically, only 1 entry for Dude appeared in the auto-complete form - there was neither a 1 nor a 2 at the end of that. When I sent the message, it only sent it to Dude 2, who, once again, was the most recently-created character with a first name of "Dude". As to what Dave W. suggested, I typed /w "Dude 1" hi and I got this error: Unable to find a player or character with name: "dude
1397769632

Edited 1397770208
Gauss
Forum Champion
David , I see what you are saying now. For some reason in the autocomplete it is only showing "Dude" and not "Dude 1" or "Dude 2". I will report this to the Devs. In the meantime, I suggest that your players change their names to something more unique.
1397771887
Lithl
Pro
Sheet Author
API Scripter
It's true that the whisper system only works for the first name, however this is only a problem if there are multiple players/characters with the same first name. Since both player display names and character names can be changed (by the player/the GM, respectively), as a workaround you can simply ensure everyone has a unique first name. If the first names are all unique, whispering to that name works just fine.
The second part of the issue he noted is that if you whisper to a character with a space in their name, the second part of their name becomes the first part of the whisper..... I just changed the spaces to dashes as a work around in my campaign, but it is something that seems kinda weird. using /w @{target|token name} instead of auto complete will give you the same results he mentioned above if there is a space in the token name.
1397805482
Lithl
Pro
Sheet Author
API Scripter
You don't need to include the subsequent names. You only need the first name to whisper. (This is what happens with the autocomplete box.) Obviously, this causes a problem if there are duplicate first names.
yes, you don't need them, but if you whisper to a token (with @{target|token name}) with more than one and a space between, it still gives unintended results.
1402544529
The Aaron
Roll20 Production Team
API Scripter
It would be nice if you could use player id or character id (particularly when sending from the API) similar to the way 'speakingas' in the API works. Suggesting using unique first names is fine for players, but it doesn't make sense for characters. Imagine you're playing in a campaign with a bunch of knights, i.e.: Sir Lancelot, Sir Galahad, Sir Percival, etc..