Solved Skript Page '/control'

  • 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.
Hi,

I'm making a '/control' skript, and it'll have options with like whitelist you know :emoji_slight_smile:

But when I press on the redstone dust it does nothing. Can anyone explain why?

Here's my code:

code_language.skript:
command /control [<text>]:
    trigger:
        if arg-1 is not set:
            open chest with 5 rows named "&7Control Panel" to player
            format slot 0 of player with black stained glass pane named " " to be unstealable
            format slot 1 of player with black stained glass pane named " " to be unstealable
            format slot 2 of player with black stained glass pane named " " to be unstealable
            format slot 3 of player with black stained glass pane named " " to be unstealable
            format slot 4 of player with black stained glass pane named " " to be unstealable
            format slot 5 of player with black stained glass pane named " " to be unstealable
            format slot 6 of player with black stained glass pane named " " to be unstealable
            format slot 7 of player with black stained glass pane named " " to be unstealable
            format slot 8 of player with black stained glass pane named " " to be unstealable
            format slot 19 of player with redstone dust named "&7Whitelist Options" to close then run [execute player command "/controlwhitelistoptions"]

command /controlwhitelistoptions [<text>]:
    trigger:
        if arg-1 is not set:
            open chest with 5 rows named "&7Control Panel" to player
            format slot 0 of player with black stained glass pane named " " to be unstealable
            format slot 1 of player with black stained glass pane named " " to be unstealable
            format slot 2 of player with black stained glass pane named " " to be unstealable
            format slot 3 of player with black stained glass pane named " " to be unstealable
            format slot 4 of player with black stained glass pane named " " to be unstealable
            format slot 5 of player with black stained glass pane named " " to be unstealable
            format slot 6 of player with black stained glass pane named " " to be unstealable
            format slot 7 of player with black stained glass pane named " " to be unstealable
            format slot 8 of player with black stained glass pane named " " to be unstealable
            format slot 19 of player with green wool named "&7Whitelist ON" to close then run [execute player command "/whitelist on"]

Thanks,

- TheCringleYT
 
Okay, thanks!
[doublepost=1600520516,1600520254][/doublepost]Can I ask you another question @Josh Clarke, do you know how to stop these messages:

https://imgur.com/a/dyAMgAZ
dyAMgAZ
 
If its on your screen then try disabling broadcast-console-to-ops in the server properties file
set it to false
 
Status
Not open for further replies.