Prompt Argument

Prompt Arguments are only within the scope of a specific Prompt. Therefore, an argument will only modify how a specific prompt behaves.

Example:

/nick <Who do you want to change the nickname of?> <-ds -a what nick name do you want?>

For the command shown above, we can see that the first Prompt <Who do you want to change the nickname of?> does not have any argument at all. However, the second prompt <-ds -a what nickname do you want?> has two Prompt arguments: -ds and -a. These two arguments are considered as a Prompt Argument since it will only modify the current prompt. -ds disables the input sanitation for that current prompt only. Disabling input sanitation allows for the color codes to be kept since by default, CommandPrompter’s input processing removes them. The argument -a changes that prompt to become an Anvil UI Prompt.

Last updated