Code:
command /book:
trigger:
set {_book} to a new written book
set {_component} to a new text component with "&b>&6Test%nl%%nl% test&b<"
add hover event with action SHOW_TEXT with text "&eLel" to text component {_component}
add text component {_component} to book {_book}
set {_THIS} to a new text component with "THIS IS CLICKABLE!"
add click event with action RUN_COMMAND with execute "/broadcast LoL" to text component {_THIS}
add text component {_THIS} to book {_book}
open book {_book} to player
This is my code.
And succeeded in reloading..
but..
? what..
I use 1.19.3 JE and use Skellett 2.0.8
Last edited: