Solved Need help for my 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

fasteR

New Member
Dec 10, 2020
8
0
1
21
Hi there,
I am new at Skript and skQuery. I want to learn it and trying to write some skripts.

I need your help at that skript:

Code:
command /ada <player>:
    description: Ada ile ilgili komutları gösterir.
    trigger:
        if arg-1 is set:
            wait 0.2 seconds
            open chest with 1 row named "&1Ada ceza menü" to the player
            format slot 0 of player with barrier named "Ada ban" to close then run [make player execute "island ban"]
            format slot 1 of player with barrier named "Ada kick" to close then run [make player execute "island kick"]
            format slot 2 of player with barrier named "Ada expel" to close then run [make player execute "island expel"]   
        else:
            wait 0.2 seconds
            open chest with 6 row named "&1Ada menü" to the player
            format slot 4 of player with bedrock named "bilgi" to close then run [make player execute "island reset"]
            format slot 12 of player with grass named "Ada oluştur/sıfırla" to close then run [make player execute "island reset"]
            format slot 14 of player with bed named "Adana git" to close then run [make player execute "island go"]
            format slot 20 of player with experience bottle named "Ada seviyesi" to close then run [make player execute "island level"]
            format slot 22 of player with command block named "Ada ayarları" to close then run [make player execute "island settings"]
            format slot 24 of player with arrow named "Ada hedefleri" to close then run [make player execute "challenges"]
        
command /is:
    description: Ada ile ilgili komutları gösterir.
    trigger:
        make player execute "ada"

it will open a chest if player writes a player name next to the command else it will open another chest but it is not working.

Thanks..
[doublepost=1607605565,1607602713][/doublepost]I solved the problem.
Code:
command /ada [<player>]
 
Status
Not open for further replies.