Unknown Command Message (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.17
Syntax
[the] (unknown|non-existent) command messageDescription
The message sent to a player when executing an unknown command.
Examples
on unknown command execution:
add 1 to {-command_fails::%player%}
wait 30 seconds:
remove 1 from {-command_fails::%player%}
if {-command_fails::%player%} is greater than or equal to 5:
push the player upwards
set the unknown command message to "<red>You are executing too many unknown commands too fast!"