Hey, I want to open a book and quill menu when i right click holding a book. But everytime i try i dont get an error but it doesn't work! im using Skellett!
Here is my code:
I want something like this:
Here is my code:
Code:
on join:
if player doesn't have a book named "&aScript Book" with lore "&7Write your scripts in here!":
give 1 book named "&aScript Book" with lore "&7Write your scripts in here!" to player
on right click holding a book and quill:
if event-item's name is "&aScript Book":
if event-item's lore is "&7Write your scripts in here!":
if {book.%player%} is not set:
set {book.%player%} to a new written book
if {book.%player%} is a new written book:
open book {book.%player%} to player
else:
message "&7[&aSCRIPT&7] &4ERROR!"