#link gen
1 messages · Page 1 of 1 (latest)
got it already but still thx
loop shuffled (characters between "a" and "z"):
add "%random integer from 0 to 9%" or loop-value to {_list::*}
exit loop if loop-iteration is 5
set {_result} to join {_list::*} by ""
send "%{_result}%" to {_p}```
how do i make a linking command ??
What do you mean linking command?
wait 1 sec
I made a linking command to link ur mc user with dc for rewqards. I made it so when u type /link in game it will generate a code and when u type the code in discord it will give u a role called linked and will say in game that u linked and will say in dc that u linked too. (Thats all made with diskys) now how do i get the minecraft name of the person who linked in discord so the message could be like like "u linked with the mc user: flam3ed"
i suppose you could have a variable which stores all players who used /link and codes they got and compare it with the code someone uses on discord
^ this or yaml/json
there is also plugins that can accomplish mc/discord linking easily without any skript, not sure if that's an option you'd want though
What plugins
Google “link Minecraft with discord spigot plugins”