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.

Solved Open book with clickable text?

Discussion in 'Skript' started by ItsDy1an, Sep 5, 2017.

Thread Status:
Not open for further replies.
  1. ItsDy1an

    ItsDy1an New Member

    Joined:
    Jun 23, 2017
    Messages:
    8
    Likes Received:
    0
    Title really says it all, What i'm trying to do is when the book opens there will be links so for example &cYouTube but you can click YouTube to open it. Anybody know how to do this. Thanks
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Use the help request format.
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    this is dissusicon, not helping or request.

    Just look around in google. there is a lot about "Clickable Book" tutorial
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    No offence but i've tried and I can't find anything at all..? At least not for skript.
     
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
  6. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
  7. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    i tested fast. This way is what youre searching:
    Code (Skript):
    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
     
    • Like Like x 2
  8. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    The format however is still required. Without actual code to fix it belongs in the request section. its not a "discussion". he's requesting help with skript and that requires information so he can be helped as easily as possible.
    Obviously too late for this postx3 but do use it in the future.
     
  9. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Thanks a million! :emoji_slight_smile:
     
  10. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    mark as sovled
     
Thread Status:
Not open for further replies.

Share This Page

Loading...