Browse Source

Change nick command to consume all input as param

pull/8/head
Anton Tarasenko 4 years ago
parent
commit
59a057ef4a
  1. 6
      sources/Commands/BuiltInCommands/ACommandNick.uc

6
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) //'dosh' for giving dosh (subcommand for setting it, options for min/max resulting value, silent)
protected function BuildData(CommandDataBuilder builder) 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.RequireTarget();
builder.ParamText(P("nick")) builder.ParamRemainder(P("nick"))
.Describe(P("Sets new nickname to the targeted players.")); .Describe(P("Changes nickname of targeted players to <nick>."));
} }
protected function ExecutedFor(APlayer player, CommandCall result) protected function ExecutedFor(APlayer player, CommandCall result)

Loading…
Cancel
Save