Hey, I am designing a minigames system on my server and i want to block some commands at a certain point. I want to set the blocked commands with option variables.
i want something like this
Is it possible?
i want something like this
code_language.skript:
options:
Commands: tpa, spawn, back
on command:
set {_counter} to 1
loop {@Commands::*}:
if command is {@Commands::%{_counter}%}
cancel event
message "Haha this command is blocked"
stop loop
add 1 to {_counter}
Is it possible?