Browse Source

Change nick command to use remainter param

feature_improvement
Anton Tarasenko 2 years ago
parent
commit
1c4106469d
  1. 2
      sources/Commands/ACommandNick.uc

2
sources/Commands/ACommandNick.uc

@ -36,7 +36,7 @@ protected function BuildData(CommandDataBuilder builder)
{ {
builder.Name(P("nick")).Summary(P("Changes nickname.")); builder.Name(P("nick")).Summary(P("Changes nickname."));
builder.RequireTarget(); builder.RequireTarget();
builder.ParamText(P("nick")) builder.ParamRemainder(P("nick"))
.Describe(P("Changes nickname of targeted players to <nick>.")); .Describe(P("Changes nickname of targeted players to <nick>."));
builder.Option(P("plain")) builder.Option(P("plain"))
.Describe(P("Take nickname exactly as typed, without attempting to" .Describe(P("Take nickname exactly as typed, without attempting to"

Loading…
Cancel
Save