Messages!

  • 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.
Hello again,

I want to create a command so when you do an unknown command it says "Unfortunately, that is an unknown command. Please do /commands for command help"

Then when you do /commands it opens a GUI with all the available commands for a default rank. (Please specify these in your Skript, I want examples) when you click on for example 'Generators it opens another GUI with generators. (Cobblestone, Redstone etc.) with a lore that tell you how to use them.

Answers would be amazing!

Thanks,

- TheCringleYT
 
I havent tested it but it should work. Here ya go:

Code:
command /commands:
    trigger:
        wait 3 ticks
        open chest with 1 row named "&eCommands" to player
        format slot 0 of player with 1 diamond named "&aGenerators" to close then run [make player execute command "commands:generators"]
        format slot 1 of player with 1 diamond named "&aBLABLA" to close
        format slot 2 of player with 1 diamond named "&aBLABLA" to close
        format slot 3 of player with 1 diamond named "&aBLABLA" to close
        format slot 4 of player with 1 diamond named "&aBLABLA" to close
        format slot 5 of player with 1 diamond named "&aBLABLA" to close
        format slot 6 of player with 1 diamond named "&aBLABLA" to close
        format slot 7 of player with 1 diamond named "&aBLABLA" to close
        format slot 8 of player with 1 diamond named "&aBLABLA" to close
        
        
        
command /commands:generators:
    trigger:
        wait 3 ticks
        open chest with 1 row named "&eGenerators" to player
        format slot 0 of player with 1 diamond named "&aGenerators" to close
        format slot 1 of player with 1 diamond named "&aGenerator 1" to close
        format slot 2 of player with 1 diamond named "&aGenerator 1" to close
        format slot 3 of player with 1 diamond named "&aGenerator 1" to close
        format slot 4 of player with 1 diamond named "&aGenerator 1" to close
        format slot 5 of player with 1 diamond named "&aGenerator 1" to close
        format slot 6 of player with 1 diamond named "&aGenerator 1" to close
        format slot 7 of player with 1 diamond named "&aGenerator 1" to close
        format slot 8 of player with 1 arrow named "&3Back" to close then run [make player execute command "commands"]
 
Status
Not open for further replies.