-
-
Notifications
You must be signed in to change notification settings - Fork 415
Closed
Description
Hello :)
Have Skript AND ONLY skript2.5-alpha5 AND latest paper 1.16.1(89).
Tuske is dead with skript version for 1.16+
So i decide te rework my gui and use vanilla gui, "vanilla gui.sk".
`#
A vanilla example of a gui creation using Skript only
Requires Skript 2.3+
command /gui:
trigger:
set {_gui} to a new chest inventory with 6 row with name "Gui Test"
set slot 0 of {_gui} to stone
open {_gui} to player
on inventory click:
if name of event-inventory is "Gui Test":
if index of event-slot = 0:
cancel event
send "You clicked on the slot 0 !"`
Right?
Beacause dont work fine, /gui work and open a menu and ... nothing
"on inventory click:" do nothing, i can pick up a stone, zero cancel event, zero message : "send "You clicked on the slot 0 !""
Sorry for my bad english, thanks.
Metadata
Metadata
Assignees
Labels
No labels