Solved code

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

Hartvig

Member
Apr 18, 2017
39
1
0
22
There is no problems with the skript, i'm just curious, is there a way you can do this faster?

CODE:
code_language.skript:
command /title:
    aliases: /tags
    trigger:
        open chest with 6 rows named "&e&lTitles" to player
        wait 3 ticks
        player has permission "kek.sk":
            player has permission "mman.sk":
                player has permission "L.sk":
                    format slot 11 of player with light green glass named "&6KEK" to close then run [ execute player command "/tagplayer kek"]
                    format slot 13 of player with light green glass named "&bMoney Man" to close then run [ execute player command "/tagplayer mman"]
                    format slot 15 of player with light green glass named "&6L" to close then run [ execute player command "/tagplayer L"]
                    format slot 49 of player with red wool block named "&4Clear tag" to close then run [ clear {tag}]
        else:
            player has permission "mman.sk":
                player has permission "L.sk":
                    format slot 11 of player with red stained glass named "&6KEK" to be unstealable
                    format slot 13 of player with light green glass named "&bMoney Man" to close then run [ execute player command "/tagplayer mman"]
                    format slot 15 of player with light green glass named "&6L" to close then run [ execute player command "/tagplayer L"]
                    format slot 49 of player with red wool block named "&4Clear tag" to close then run [ clear {tag}]
            else:
                player has permission "mman.sk":
                    format slot 11 of player with red stained glass named "&6KEK" to be unstealable
                    format slot 13 of player with light green glass named "&bMoney Man" to close then run [ execute player command "/tagplayer mman"]
                    format slot 15 of player with red stained glass named "&6L" to be unstealable
                    format slot 49 of player with red wool block named "&4Clear tag" to close then run [ clear {tag}]
                else:
                    player has permission: "L.sk":
                        format slot 11 of player with red stained glass named "&6KEK" to be unstealable
                        format slot 13 of player with red stained glass named "&bMoney Man" to be unstealable
                        format slot 15 of player with light green glass named "&6L" to close then run [ execute player command "/tagplayer L"]
                        format slot 49 of player with red wool block named "&4Clear tag" to close then run [ clear {tag}]
                    else:
                        format slot 11 of player with red stained glass named "&6KEK" to be unstealable
                        format slot 13 of player with red stained glass named "&bMoney Man" to be unstealable
                        format slot 15 of player with red stained glass named "&6L" to be unstealable
                        format slot 49 of player with red wool block named "&4Clear tag" to close then run [ clear {tag}]
 
Yeah sure, there is a way to being faster, Use Tuske or Skelett/Skript, Umbaska (What youre using) is VERY bugged and Take a bit long...
 
Status
Not open for further replies.