Command Info (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.6
Syntax
[the] main command [label|name] [of [[the] command[s] %-strings%]]Description
Get information about a command.
Examples
main command label of command "skript"description of command "help"label of command "pl"usage of command "help"aliases of command "bukkit:help"permission of command "/op"command "op"'s permission messagecommand "sk"'s plugin ownercommand /greet <player>:
usage: /greet <target>
trigger:
if arg-1 is sender:
send "&cYou can't greet yourself! Usage: %the usage%"
stop
send "%sender% greets you!" to arg-1
send "You greeted %arg-1%!"