Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whispering can't handle spaces in names #6

Open
TheWhiteWolves opened this issue Apr 14, 2016 · 1 comment
Open

Whispering can't handle spaces in names #6

TheWhiteWolves opened this issue Apr 14, 2016 · 1 comment
Labels

Comments

@TheWhiteWolves
Copy link
Owner

When using /w to whisper to a person it will only use the first part of any name that has a space in it.

e.g. Jonathan Smith uses /w Jonathan to whisper and then includes Smith in the whisper text.

@TheWhiteWolves
Copy link
Owner Author

TheWhiteWolves commented May 20, 2016

Currently I have a fix within the script that will remove anything from the player name after the first space.

This is not the best solution as it does not allow for distinguishing between two people whos display names start with the same word.

Possible solution would be to instead encase any incoming names in quotation marks to escape it, i.e. TheWhiteWolves (Jon) becomes "TheWhiteWolves (Jon)" instead of just TheWhiteWolves

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant