CommandClass.ParseArguments
<<any> Arguments> CommandClass.ParseArguments(<CommandClass> self, <Player> ExecutePlayer, <string[]> Arguments)
string[]
(string array) of arguments into an array of typed arguments. This means a number argument becomes a number, etc.
Parameters
-
CommandClass
CommandThe command
-
Player
ExecutePlayerThe player who executed the command
-
string[]
ArgumentsThe string array of arguments, usually the stuff after the command has been said but all chopped up. e.g.
:particle me red
->["me", "red"]
Returns
any
ArgumentsThe parsed arguments with types