Advertisement
VampTheSkripter

On-Join Book-Open | by Vamp

Oct 14th, 2018
577
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. # On Join - Book Open by Vamp
  2. # Please do not claim this as your own!
  3. options:
  4. # EDIT THE TEXT OF THE BOOK AFTER ALL THE "(number):"
  5. Line1: EDIT
  6. Line2: THIS
  7. Line3: PART
  8. Line4: HERE
  9.  
  10.  
  11. on first join:
  12. execute player command "info"
  13. on join:
  14. execute player command "info"
  15. command /info:
  16. trigger:
  17. set {_book} to a new book
  18. set {_component} to a new text component with "{@Line1}"
  19. set {_component2} to a new text component with "%nl% {@Line2}"
  20. set {_component3} to a new text component with "%nl% {@Line3}"
  21. set {_component4} to a new text component with "%nl% {@Line4}" #KEEP THE PATTERN GOING, AND ADD LINES IN UNDER OPTIONS
  22. add text component {_component} and {_component2} and {_component3} and {_component4} to book {_book}
  23. open book {_book} to player
  24. open book {_book} to player
  25. wait 1 tick
  26. open book {_book} to player #DON'T TAKE THIS OUT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement