I'm trying to make code that when click "[ OK. ]" in the book then player will execute the command but I definitely have an error with the code 'text component' but I installed Skellett, please help!
code_language.skript:
on script load:
set {_ok} to text component "&a[ OK. ]"
add click event with action RUN_COMMAND with execute "/test" to text component {_ok}