add feedback on nick command

This commit is contained in:
Mylloon 2021-06-28 15:13:34 +02:00
parent 45e675edb8
commit d890f2421e

View file

@ -20,6 +20,8 @@ command nickname [<player>] <text>: # changement de pseudo
set {_player} to arg-1 set {_player} to arg-1
if player is {_player}: if player is {_player}:
set {_playerNAME} to "vous" set {_playerNAME} to "vous"
else:
send "&aSurnom changé."
if arg-2 is "off": if arg-2 is "off":
delete {nick.%{_playerUUID}%} delete {nick.%{_playerUUID}%}
send "&6Tu n'as plus de surnom. (changé par %player%&6)" to {_player} send "&6Tu n'as plus de surnom. (changé par %player%&6)" to {_player}