help with gui

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

MANOLIKE

Member
Oct 1, 2021
3
0
1
24
Hi, I'm making a gui, and I'm having a problem:

'"Lore" to close then run' is not a text (gui.sk, line 287: set slot 10 of player's current inventory to book named "&aBook" with lore "Lore" to close then run:')

my code:
open chest with 3 row named "&8Test" to player
set slot 10 of player's current inventory to book named "&aBook" with lore "Lore" to close then run:
execute player's command "/vincular"
 
Hi, I'm making a gui, and I'm having a problem:

'"Lore" to close then run' is not a text (gui.sk, line 287: set slot 10 of player's current inventory to book named "&aBook" with lore "Lore" to close then run:')

my code:
open chest with 3 row named "&8Test" to player
set slot 10 of player's current inventory to book named "&aBook" with lore "Lore" to close then run:
execute player's command "/vincular"


Code:
open chest with 3 row named "&8Test" to player
format slot 10 of player with book named "&aBook" with lore "Lore" to close then run [make player execute command "/vincular"]

this should do the trick