Slash Command Argument (Expression) — DiSky
Addon: DiSky · Category: Expression
Syntax
[the] arg[ument] [(named|with name)] %string% as (%-optiontype%|member)Description
Represents a slash command argument. The name is the ID used when defining the slash command. Specify the type, so that Skript can parse it correctly. (if it's a number, operation wil be allowed for example) The type should be the same used when defining the argument in the command.
Examples
# I'm doing /ban time:30 user:*user id*, so:
set {_time} to argument "time" as integer
set {_user} to argument "user" as user