Hi,
I'm making a '/control' skript, and it'll have options with like whitelist you know
But when I press on the redstone dust it does nothing. Can anyone explain why?
Here's my code:
Thanks,
- TheCringleYT
I'm making a '/control' skript, and it'll have options with like whitelist you know
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