#GUi help
1 messages · Page 1 of 1 (latest)
just open a chest inventory and set slots
3rd line is error
set x to chest inventory with y rows named "z"
command /testgui:
trigger:
set {_gui} to chest inventory with 3 rows named "ahsadha"
set slot 13 of {_gui} to chest named "&6Regular chest" with lore "&cJust a chest%nl%&4Nothing wierd about it!"
open {_gui} to player
should work?
should work
alr
yoooo it works
thank you so much
uh one more question
how do i make it so people cant take the items out
i just tested it and you can take the item out
inventory clicks and if player's current inventory name = "x" ?
whats the x
the name of the inventory
like the name of the item if you click?
slot?
the chest inventory you clicked on
yes
no not slots
bro thats the name isnt it
i dont get it
if inventory name of current inventory of player = "&2test":
also what errors did it even show
thats it?
yes
why would it be under it
dont know
if inventory name of current inventory of player = "x":
cancel event```
oh ok
different area from the opening inventory
i dont understand script docs
if name of player's current inventory = "x"
same error
bruh what
on inventory click:
if name of player's current inventory = "ahsadha"
cancel event
on inventory click: if name of player's current inventory = "ahsadha" cancel event
it works of every skript i make with that
bruh
you forgot the :
every time there is a if u add a : at the end of the line
also if you dont understand skript docs just read the examples that are there
btw this docs
i did im pretty sure
always click view examples
yeah from now on i will
Skript hub is the best skript website
@civic mortar i just realized that i cant pick or get any blocks in my inventory, even tho the name is set to the gui's name it still works on every inventory aswell as mine any way to fix that?