Hello, I wanna make a disguise command but I don't know how to make a random name generator.
I just made a disguise command with 6 random letters and it works without errors.
Sorry for my english btw, I'm still learning.
I just made a disguise command with 6 random letters and it works without errors.
Sorry for my english btw, I'm still learning.
Code:
command /disguise [<text>]:
trigger:
if arg-1 is set:
set player's displayname to "%random letter%%random letter%%random letter%%random letter%%random letter%%random letter%"
send "&aYou now appear as: &b%random letter%%random letter%%random letter%%random letter%%random letter%%random letter%"
else:
set player's displayname to "%player%"
send "&cYou now appear as your real name."