Skript Version: Skript 2.2
Minecraft Version: 1.11
I am wondering if there is a way so when I click an item in a GUI, it will display another GUI. I know you can do them with just commands. But I just wanna know if there is any other way to do them.
I've tried some stuff, non seem to work.
Full Code:
Minecraft Version: 1.11
I am wondering if there is a way so when I click an item in a GUI, it will display another GUI. I know you can do them with just commands. But I just wanna know if there is any other way to do them.
I've tried some stuff, non seem to work.
Full Code:
code_language.skript:
on rightclick holding rose red:
player's world is "Map1":
Open chest with 3 row named "&c&lInfected" to player
Wait 2 tick
format slot 10 of player with rose red named "&rStoryline" to run [execute player command "storyline"]
format slot 13 of player with skull of player named "&rProfile" to close
format slot 16 of player with bow named "&rPeripherals" to run [execute player command "profile"]
on inventory click:
if name of player's current inventory is "&c&lInfected":
if clicked slot is 13:
open chest with 3 row named "&c&lProfile" to player
Wait 2 tick
format slot 10 of player with rose red named "&rStoryline" to run [execute player command "storyline"]
[/CODE
[B]Addons using (including versions):[/B]
SkQuery 3.22.1
[B]
Troubleshooting:[/B]
[B]Have you tried searching the docs?[/B] Yes
[B]Have you tried searching the forums?[/B] No