This, in a nutshell, is a way to chat privately with people in the dA chat rooms without having to have both people type /chat username (if you use SuperdAmn, that is). It's a way to talk to people that can't be spied on in any easy way.
But there are some things to consider:
- This is using a shared key between users, which is plainly visible in the script source. You can set up a custom key to be more encrypted, although don't think that this is impossible to decode. It's not very complicated encryption.
- The way the commands work is a tad complicated. You can /whisperHelp to see a description of how things are done, but I'll explain more down below.
- The whisper you send to someone is encoded in a public message you send out to the room. A part of that message will be public, but no one other than the person you are whispering to will see your encoded message. So to whisper to someone, you must send out a public message (that can be anything you want).
- Both people trying to whisper to each other need to be using this script. So if you don't know if someone has the script, trying to whisper to them will simply tab them and see your public message, which could cause confusion.
- Capitalization matters here. The name you whisper must be the same capitalization as it really appears or else they won't see it. This also goes for setting a custom key for a person. The key must also be the same capitalization, which I'll describe below.
- Whenever you whisper to someone, it will look like you've posted two messages right after each other. But only one is visible to the room. The first one that gets posted is simply a message that the script spits out telling you what you've said to the person you whisper to. The one below it is how it appears to the room. So it's a bit cludgy, but this was the best way I could make it work. Just know that the room won't see the first thing you say (the [You whispered]... part), just the second part.
So for a real world example, lets say that me and OpalMist
both have this script. For me to whisper to him, I would type.
- /whisper OpalMist I'm whispering to you, and no one can see it, all they'll see is what I write after this. // Anything on the right side of those two slashes will be the thing that is shown publicly.
- /whisper OpalMist By the way, my phone number is 123-4567, so you can call me about the party // OpalMist: Going to the party later?
So you can /whisper username private message // public message. And it won't work if you don't have a space after the two slashes.
If you want to set up a custom key with someone, you can do it by simply typing:
- /whisperSetKey username the key you want to use
So if I was fine with the rather easy to decode way this works by default, I could just ignore all the custom key stuff. But if I wanted to whisper with someone and be a bit more secure, me and that person could decide that we would use a custom key of say, "monkeyballs--**--123987". In order to have that be our own custom key, I would type:
- /whisperSetKey theotherperson monkeyballs--**--123987
And theotherperson would type:
- /whisperSetKey electricjonny monkeyballs--**--123987
That would set up an encryption/decryption key using that monkeyballs--**--123987 key. And since we would have passed that key to each other privately, it would be difficult to decrypt.
Now, you can view the custom keys you've set up by typing: /whisperViewKeys, and that will pop open a box to list them all. If you want to change the key of a user to something else, you can simply type in: /whisperSetKey thesameperson anotherkey and it will update. Just be sure to keep the capitalization the same or you'll end up with two keys for the same user which will break things. If you want to remove all of your keys, you can type: /whisperClearKeys confirm
and that will remove all of the keys. Just be sure to type confirm after the command or it won't work.
And again, you can type: /whisperHelp in order to get a run-down of the commands. You can also click on the help label at the top to add a link to this script in the input box.
The commands are:
- /whisper - What you type to whisper to people.
- /whisperClearKeys - What you type in order to delete all your keys.
- /whisperHelp - What you type to get a quick box to pop open with all of the help options.
- /whisoerSetKey - This lets you set custom keys between users.
- /whisperViewKeys - This opens a box to show you the saved keys you have with people.
And remember, you can simply type: /whi+tab to autocomplete the commands. Keep tabbing to go through the list of them.
I'd like to thank OpalMist
for a lot of ideas about how this should work, and a few other users for the testing they did
You can install the script by opening this URL in a new tab: ht
tp://electricjonny.com/code/dA_chat-whisper.user.js and Greasemonkey (for Firefox) will prompt you to install it. For Chrome users, you need to save that link to your desktop, then open up the extensions page, and drag the script onto it in order to install it.
This script is now against the rules in any official channel, so you can't use it in #devart or any other official room.
And if anyone comes across any bugs, or has any questions, then please leave a comment below. Thanks