Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
First, store the person you want to message in a variable, then store all command parameters into a variable aswell. Then send the message to that person.
I figured out how to dm a person in a server, it's pretty easy, though might not be what you exactly looked for. Just mention the user and store the mentioned user in a variable, then store all parameters starting from #2 in a variable and dm it to the user.
{"name":"dmuser","permissions":"NONE","restriction":"0","actions":[{"member":"1","varName":"userid","info":"1","storage":"1","varName2":"commanduser","name":"Store Member Info"},{"info":"1","infoIndex":"2","storage":"1","varName":"message","name":"Store Command Params"},{"storage":"1","varName":"commanduser","comparison":"1","value":"globalVars(\"botownerid\")","iftrue":"3","iftrueVal":"2","iffalse":"0","iffalseVal":"3","name":"Check Variable"},{"channel":"1","varName":"","message":"You can't do that, you're not the master.","storage":"0","varName2":"","name":"Send Message"},{"name":"End Action Sequence"},{"channel":"1","varName":"","message":"Message ``${tempVars(\"message\")}`` has been send to ``${mentionedUser}``.","storage":"0","varName2":"","name":"Send Message"},{"channel":"2","varName":"","message":"${tempVars(\"message\")}","storage":"0","varName2":"","name":"Send Message"}]}
Here is the raw data for if you want to dm people from your server.
It's pretty easy.
How it works: [prefix]dmuser [user you want to dm] [message].
If I'm correct then that should dm the user.
What you can do is create a secret channel for you alone in your own server and use the command there so no one will know that you messaged the user.
Not sure why you would want that but you could do it to prank your friends or something.
NOTE: This command is for if you want to message someone from the server.
If you set **command restrictions** to "None" it will detect the command from anywhere, even dm.
You can't mention a person in DM sadly so you'll have to store a member in a variable before dming the person.
**My solution for your problem.**
Try to make one command that stores a mentioned user in a global variable
make a second command that sends a message to the global variable (has to be a member, not a user id or name, it has to be the user itself).