Solved Open another GUI in a 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!

SpinKnight

Supporter +
Supporter
May 24, 2017
30
0
6
So I was wondering if it is possible open a GUI on click of a item in a GUI... without making it execute another command example: "to close then run "opentestgui""
It would be a big if you could help me <3
 
if youre using tuske advanced guis:
code_language.skript:
create a gui with id "test" with virtual chest with 6 rows named "test":
    make gui slot 5 with dirt named "test":
        open gui "other_gui" to gui-player
 
Ok. So that didn't work.
But I was wondering if I could open a new gui by clicking on the book in this gui with this code:
code_language.skript:
command /gui:
    trigger:
        open chest with 1 row named "Test" to player
        wait 1 tick
        format slot 0 of player with book named "Test" to be unstealable

Without having to create a new command
 
Ok... What plugins do you need for the first gui skript you send? Cuz it clearly didnt work
 
Ok... What plugins do you need for the first gui skript you send? Cuz it clearly didnt work
Capture.PNG


Capture1.PNG


Capture2.PNG