set {_item} to written book
set {_t} to a new text component with "{@p} &7%nl%%nl%-----------------%nl%%nl%&8&lPIN: &7[&9&lSCOPRI&7]%nl%%nl%&8Be &4Attenzione&8 non perdere il tuo pin!"
set hover event of {_t} to hover event showing "&7&lPIN: &9&l%{derebank::cards::%{_p}%:
in}%"
add text component {_t} to book {_item}
set book author of {_item} to "{@p}"
set book title of {_item} to "&7Pin di %{_p}%"
set 1st line of {_item}'s lore to "&9%{_p}%"
return {_item}
it doesn't work
set {_t} to a new text component with "{@p} &7%nl%%nl%-----------------%nl%%nl%&8&lPIN: &7[&9&lSCOPRI&7]%nl%%nl%&8Be &4Attenzione&8 non perdere il tuo pin!"
set hover event of {_t} to hover event showing "&7&lPIN: &9&l%{derebank::cards::%{_p}%:
add text component {_t} to book {_item}
set book author of {_item} to "{@p}"
set book title of {_item} to "&7Pin di %{_p}%"
set 1st line of {_item}'s lore to "&9%{_p}%"
return {_item}
it doesn't work