Hello, I am looking for a way to force open book. There is a possibility to do it?
Code:
command /openBook:
trigger:
set {_item} to slot player's current hotbar slot of player
set slot player's current hotbar slot of player to a written book
add page "&4&l&m-&a&l*&4&l&m__ &2&l&nSkellett&4&l&m __&a&l*&4&l&m-&r%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl% &dHot" to player's tool
open book player's tool to player
set slot player's current hotbar slot of player to {_item}
Last edited: