Hello!
I am trying to make a Skript that opens a virtual book for the help page. I am trying to make a skript for making these books, but it does not work. I have searched and found this: https://forums.skunity.com/threads/open-book-w-text.2625/ where @LimeGlass put how to make the book item into a variable than open that book up, however it's not working. Is this a bug with Skellett or did I do something wrong?
Skript Version: Skript by Bensku (Latest)
Skript Author: Bensku
Minecraft Version: Spigot 1.12.2
Full Code:
Addons using (including versions):
Skellett (latest version)
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it? None.
[doublepost=1513444439,1513438421][/doublepost]open book does actually work, it looks like the problem is with setting the book to the player's tool. Did I do that wrong?
I am trying to make a Skript that opens a virtual book for the help page. I am trying to make a skript for making these books, but it does not work. I have searched and found this: https://forums.skunity.com/threads/open-book-w-text.2625/ where @LimeGlass put how to make the book item into a variable than open that book up, however it's not working. Is this a bug with Skellett or did I do something wrong?
Skript Version: Skript by Bensku (Latest)
Skript Author: Bensku
Minecraft Version: Spigot 1.12.2
Full Code:
code_language.skript:
command /createbook <text>:
trigger:
set {book.%arg 1%} to player's tool
command /openbook <text>:
trigger:
open book {book.%arg 1%} to player
Addons using (including versions):
Skellett (latest version)
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it? None.
[doublepost=1513444439,1513438421][/doublepost]open book does actually work, it looks like the problem is with setting the book to the player's tool. Did I do that wrong?