From 59a057ef4ae0854bc7af7c187741b26d089c9fc1 Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Sun, 7 Mar 2021 21:37:13 +0700 Subject: [PATCH] Change nick command to consume all input as param --- sources/Commands/BuiltInCommands/ACommandNick.uc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sources/Commands/BuiltInCommands/ACommandNick.uc b/sources/Commands/BuiltInCommands/ACommandNick.uc index 0806e13..d61a0e4 100644 --- a/sources/Commands/BuiltInCommands/ACommandNick.uc +++ b/sources/Commands/BuiltInCommands/ACommandNick.uc @@ -22,10 +22,10 @@ class ACommandNick extends Command; //'dosh' for giving dosh (subcommand for setting it, options for min/max resulting value, silent) protected function BuildData(CommandDataBuilder builder) { - builder.Name(P("nick")).Summary(P("Changes player's nickname.")); + builder.Name(P("nick")).Summary(P("Changes nickname.")); builder.RequireTarget(); - builder.ParamText(P("nick")) - .Describe(P("Sets new nickname to the targeted players.")); + builder.ParamRemainder(P("nick")) + .Describe(P("Changes nickname of targeted players to .")); } protected function ExecutedFor(APlayer player, CommandCall result)