1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

skript book?

Discussion in 'Skript' started by 퀵플레이, Jan 23, 2023.

  1. 퀵플레이

    퀵플레이 New Member

    Joined:
    Jul 21, 2022
    Messages:
    7
    Likes Received:
    0
    Code (Text):
    1. command /book:
    2.     trigger:
    3.         set {_book} to a new written book
    4.         set {_component} to a new text component with "&b>&6Test%nl%%nl% test&b<"
    5.         add hover event with action SHOW_TEXT with text "&eLel" to text component {_component}
    6.         add text component {_component} to book {_book}
    7.         set {_THIS} to a new text component with "THIS IS CLICKABLE!"
    8.         add click event with action RUN_COMMAND with execute "/broadcast LoL" to text component {_THIS}
    9.         add text component {_THIS} to book {_book}
    10.         open book {_book} to player
    This is my code.
    And succeeded in reloading..
    but..
    upload_2023-1-23_20-41-38.png
    ? what..

    I use 1.19.3 JE and use Skellett 2.0.8
     
    #1 퀵플레이, Jan 23, 2023
    Last edited: Jan 23, 2023

Share This Page

Loading...