How can i execute command in Skungee???

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

ofekassiag

Member
Apr 24, 2019
25
0
1
58
This is exmple.

Code:
        format slot 16 of player with ("MrNight" parsed as offline player)'s skull named "&960Day" with lore "" to close then run [make player execute command ""]
 
I highly recommend you using tuske or vanilla guis instead. SkQuery is buggy
 
example:
Code:
make bungee {_p} execute command "hi im TP"
 
Code:
on Skript start:
    send "&7[&cHorizonTools&7] &eHorizonTools v1.0 was loaded" to console
on Skript stop:
    send "&7[&cHorizonTools&7] &eHorizonTools v1.0 was unloaded" to console
command /b [<player>]:
    permission: modtools.use
    permission message: &7[&cHorizonTools&7] &cNo permissions
    Usage: &c/b playername
    trigger:   
        if arg 1 is not set:
            send "&7&7[&4HorizonTools&7] &cUse: &7/b <player>"
        if arg 1 is set:
            open chest with 6 rows named "&4HorizonTools - Menu" to player
            format slot 0 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 1 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 3 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 6 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 7 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 8 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 9 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 17 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 26 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 35 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 53 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 52 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 51 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 50 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 49 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 48 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 47 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 46 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 36 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 27 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 18 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 2 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 44 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 45 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 4 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 5 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 21 of player with diamond axe named "&4&lBan" with lore "&4&lBan" to close then run [make player execute command "/b-b %arg 1%"]
            format slot 23 of player with fishing rod named "&9Kick" with lore "" to close then run [make player execute command "/b-k %arg 1%"]
            format slot 31 of player with blaze rod named "&6Warn" with lore "" to close then run [make player execute command ""]
command /b-k [<player>]:
    permission: modtools.use
    permission message: &7[&cHorizonTools&7] &cNo permissions
    trigger:   
        wait 3 ticks
        open chest with 6 rows named "&4HorizonTools - Kick" to player
        format slot 0 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 1 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 3 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 6 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 7 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 8 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 9 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 17 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 26 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 35 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 53 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 52 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 51 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 50 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 49 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 48 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 47 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 46 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 36 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 27 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 18 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 2 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 44 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 45 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 4 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 5 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]       
        format slot 14 of player with brick named "&6Talk dirty" with lore "" to close then run [make player execute command "/kick %arg 1% Talk dirty"]           
        format slot 15 of player with book named "&6Spam reports" with lore "" to close then run [make player execute command "/kick %arg 1% Spam reports"]
        format slot 16 of player with firework star named "&6Not specific" to close then run [make player execute command "/kick %arg 1%"]       
        format slot 13 of player with paper named "&6Spam staff" with lore "" to close then run [make player execute command "/kick %arg 1% Spam staff"]
        format slot 12 of player with paper named "&6High ping" with lore "" to close then run [make player execute command "/kick %arg 1% High ping"]
        format slot 10 of player with paper named "&6Spam" with lore "" to close then run [make player execute command "/kick %arg 1% Spam"]
        format slot 11 of player with paper named "&6Help op for no reason" with lore "" to close then run [make player execute command "/kick %arg 1% Help op for no reason"]
command /b-b [<player>]:
    permission: modtools.use
    permission message: &7[&cHorizonTools&7] &cNo permissions
    trigger:   
        wait 3 ticks
        open chest with 6 rows named "&4HorizonTools - Ban" to player
        format slot 0 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 1 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 3 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 6 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 7 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 8 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 9 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 17 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 26 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 35 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 53 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 52 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 51 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 50 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 49 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 48 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 47 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 46 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 36 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 27 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 18 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 2 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 44 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 45 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 4 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 5 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 11 of player with diamond sword named "&cKillAura" with lore "" to close then run [make player execute command "/b-t %arg 1% KillAura"]           
        format slot 13 of player with slimeball named "&cSuperKnockBack" with lore "" to close then run [make player execute command "/b-t %arg 1% SuperKnockBack"]
        format slot 14 of player with bone meal named "&cPing Spoofing" with lore "" to close then run [make player execute command "/b-t %arg 1% Ping Spoofing"]
        format slot 15 of player with Gunpowder named "&cGriefing" with lore "" to close then run [make player execute command "/b-t %arg 1% Griefing"]
        format slot 12 of player with feather named "&cFly" with lore "" to close then run [make player execute command "/b-t %arg 1% Fly"]
        format slot 16 of player with glass named "&cXray" with lore "" to close then run [make player execute command "/b-t %arg 1% Xray"]
        format slot 19 of player with bow named "&cAimBot" with lore "" to close then run [make player execute command "/b-t %arg 1% AimBot"]
        format slot 20 of player with mushroom stew named "&cAutoSoup" with lore "" to close then run [make player execute command "/b-t %arg 1% AutoSoup"]
        format slot 10 of player with iron sword named "&cHacking" with lore "" to close then run [make player execute command "/b-t %arg 1% Hacking"]
command /b-t [<player>] [<text>]:
    permission: modtools.use
    permission message: &7[&cHorizonTools&7] &cNo permissions
    trigger:   
        wait 3 ticks
        open chest with 3 rows named "&4HorizonTools - Ban" to player
        format slot 0 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 1 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 2 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 3 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 4 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 5 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 6 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 7 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 8 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 18 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]       
        format slot 19 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 20 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 21 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 22 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 23 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 24 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 25 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 26 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 17 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 9 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 10 of player with ("dralexhumva" parsed as offline player)'s skull named "&91Day" with lore "" to close then run [make bungee {_p} execute command "ban %arg 1% 24h %arg 2%"]
        format slot 11 of player with ("dralexhumva" parsed as offline player)'s skull named "&97Day" with lore "" to close then run [make bungee {_p} execute command "ban %arg 1% 7d %arg 2%"]
        format slot 12 of player with ("TNTniceman" parsed as offline player)'s skull named "&910Day" with lore "" to close then run [make bungee {_p} execute command "ban %arg 1% 10d %arg 2%"]
        format slot 13 of player with ("TNTniceman" parsed as offline player)'s skull named "&914Day" with lore "" to close then run [make bungee {_p} execute command "ban %arg 1% 14d %arg 2%"]
        format slot 14 of player with ("TNTniceman" parsed as offline player)'s skull named "&920Day" with lore "" to close then run [make bungee {_p} execute command "ban %arg 1% 20d %arg 2%"]
        format slot 15 of player with ("MrNight" parsed as offline player)'s skull named "&930Day" with lore "" to close then run [make bungee {_p} execute command "ban %arg 1% 30d %arg 2%"]
        format slot 16 of player with ("MrNight" parsed as offline player)'s skull named "&960Day" with lore "" to close then run [make bungee {_p} execute command "ban %arg 1% 60d %arg 2%"]
 
Code:
on Skript start:
    send "&7[&cHorizonTools&7] &eHorizonTools v1.0 was loaded" to console
on Skript stop:
    send "&7[&cHorizonTools&7] &eHorizonTools v1.0 was unloaded" to console
command /b [<player>]:
    permission: modtools.use
    permission message: &7[&cHorizonTools&7] &cNo permissions
    Usage: &c/b playername
    trigger:  
        if arg 1 is not set:
            send "&7&7[&4HorizonTools&7] &cUse: &7/b <player>"
        if arg 1 is set:
            open chest with 6 rows named "&4HorizonTools - Menu" to player
            format slot 0 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 1 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 3 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 6 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 7 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 8 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 9 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 17 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 26 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 35 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 53 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 52 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 51 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 50 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 49 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 48 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 47 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 46 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 36 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 27 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 18 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 2 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 44 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 45 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 4 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 5 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
            format slot 21 of player with diamond axe named "&4&lBan" with lore "&4&lBan" to close then run [make player execute command "/b-b %arg 1%"]
            format slot 23 of player with fishing rod named "&9Kick" with lore "" to close then run [make player execute command "/b-k %arg 1%"]
            format slot 31 of player with blaze rod named "&6Warn" with lore "" to close then run [make player execute command ""]
command /b-k [<player>]:
    permission: modtools.use
    permission message: &7[&cHorizonTools&7] &cNo permissions
    trigger:  
        wait 3 ticks
        open chest with 6 rows named "&4HorizonTools - Kick" to player
        format slot 0 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 1 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 3 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 6 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 7 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 8 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 9 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 17 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 26 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 35 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 53 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 52 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 51 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 50 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 49 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 48 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 47 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 46 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 36 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 27 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 18 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 2 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 44 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 45 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 4 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 5 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]      
        format slot 14 of player with brick named "&6Talk dirty" with lore "" to close then run [make player execute command "/kick %arg 1% Talk dirty"]          
        format slot 15 of player with book named "&6Spam reports" with lore "" to close then run [make player execute command "/kick %arg 1% Spam reports"]
        format slot 16 of player with firework star named "&6Not specific" to close then run [make player execute command "/kick %arg 1%"]      
        format slot 13 of player with paper named "&6Spam staff" with lore "" to close then run [make player execute command "/kick %arg 1% Spam staff"]
        format slot 12 of player with paper named "&6High ping" with lore "" to close then run [make player execute command "/kick %arg 1% High ping"]
        format slot 10 of player with paper named "&6Spam" with lore "" to close then run [make player execute command "/kick %arg 1% Spam"]
        format slot 11 of player with paper named "&6Help op for no reason" with lore "" to close then run [make player execute command "/kick %arg 1% Help op for no reason"]
command /b-b [<player>]:
    permission: modtools.use
    permission message: &7[&cHorizonTools&7] &cNo permissions
    trigger:  
        wait 3 ticks
        open chest with 6 rows named "&4HorizonTools - Ban" to player
        format slot 0 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 1 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 3 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 6 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 7 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 8 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 9 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 17 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 26 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 35 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 53 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 52 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 51 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 50 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 49 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 48 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 47 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 46 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 36 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 27 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 18 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 2 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 44 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 45 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 4 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 5 of player with red stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 11 of player with diamond sword named "&cKillAura" with lore "" to close then run [make player execute command "/b-t %arg 1% KillAura"]          
        format slot 13 of player with slimeball named "&cSuperKnockBack" with lore "" to close then run [make player execute command "/b-t %arg 1% SuperKnockBack"]
        format slot 14 of player with bone meal named "&cPing Spoofing" with lore "" to close then run [make player execute command "/b-t %arg 1% Ping Spoofing"]
        format slot 15 of player with Gunpowder named "&cGriefing" with lore "" to close then run [make player execute command "/b-t %arg 1% Griefing"]
        format slot 12 of player with feather named "&cFly" with lore "" to close then run [make player execute command "/b-t %arg 1% Fly"]
        format slot 16 of player with glass named "&cXray" with lore "" to close then run [make player execute command "/b-t %arg 1% Xray"]
        format slot 19 of player with bow named "&cAimBot" with lore "" to close then run [make player execute command "/b-t %arg 1% AimBot"]
        format slot 20 of player with mushroom stew named "&cAutoSoup" with lore "" to close then run [make player execute command "/b-t %arg 1% AutoSoup"]
        format slot 10 of player with iron sword named "&cHacking" with lore "" to close then run [make player execute command "/b-t %arg 1% Hacking"]
command /b-t [<player>] [<text>]:
    permission: modtools.use
    permission message: &7[&cHorizonTools&7] &cNo permissions
    trigger:  
        wait 3 ticks
        open chest with 3 rows named "&4HorizonTools - Ban" to player
        format slot 0 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 1 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 2 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 3 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 4 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 5 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 6 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 7 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 8 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 18 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]      
        format slot 19 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 20 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 21 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 22 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 23 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 24 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 25 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 26 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 17 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 9 of player with black stained glass pane named "&4" with lore "" to close then run [make player execute command ""]
        format slot 10 of player with ("dralexhumva" parsed as offline player)'s skull named "&91Day" with lore "" to close then run [make bungee {_p} execute command "ban %arg 1% 24h %arg 2%"]
        format slot 11 of player with ("dralexhumva" parsed as offline player)'s skull named "&97Day" with lore "" to close then run [make bungee {_p} execute command "ban %arg 1% 7d %arg 2%"]
        format slot 12 of player with ("TNTniceman" parsed as offline player)'s skull named "&910Day" with lore "" to close then run [make bungee {_p} execute command "ban %arg 1% 10d %arg 2%"]
        format slot 13 of player with ("TNTniceman" parsed as offline player)'s skull named "&914Day" with lore "" to close then run [make bungee {_p} execute command "ban %arg 1% 14d %arg 2%"]
        format slot 14 of player with ("TNTniceman" parsed as offline player)'s skull named "&920Day" with lore "" to close then run [make bungee {_p} execute command "ban %arg 1% 20d %arg 2%"]
        format slot 15 of player with ("MrNight" parsed as offline player)'s skull named "&930Day" with lore "" to close then run [make bungee {_p} execute command "ban %arg 1% 30d %arg 2%"]
        format slot 16 of player with ("MrNight" parsed as offline player)'s skull named "&960Day" with lore "" to close then run [make bungee {_p} execute command "ban %arg 1% 60d %arg 2%"]
It is not recommended to use SkQuery inventories, they have bugs.
And when you're going to repeat an inventory several times, use loops. For example:
code_language.skript:
command /b [<player>]:
    permission: modtools.use
    permission message: &7[&cHorizonTools&7] &cNo permissions
    Usage: &c/b playername
    trigger: 
        if arg 1 is not set:
            send "&7&7[&4HorizonTools&7] &cUse: &7/b <player>"

        if arg 1 is set:
            open chest with 6 rows named "&4HorizonTools - Menu" to player
            set {_n} to 0
            loop 56 times:
                format a gui slot 0 of player with red stained glass pane named "&4" to do nothing
                add 1 to {_n}
            set {_diamond.axe} to diamond axe named "&4&lBan"
            set line 2 of lore of {_diamond.axe} to "&7Ban %arg 1%"
            format a gui slot 21 of player with {_diamond.axe} to close:
                make player execute command "/b-b %arg 1%"

            set {_fishing.rod} to fishing rod named "&9Kick"
            set line 2 of lore of {_fishing.rod} to "&7Kick % arg 1%"
            format a gui slot 23 of player with {_fishing.rod}  to close:
                make player execute command "/b-k %arg 1%"

            set {_blaze.rod} to blaze rod name d"&6Warn"
            set line 2 of lore of {_blaze.rod} to "&7Warn %arg 1%"
            format a gui slot 31 of player with {_blaze.rod} to close:
                make player execute command "/warn %arg 1%"#or the command would you create.
 
  • Like
Reactions: jonawoning
It is not recommended to use SkQuery inventories, they have bugs.
And when you're going to repeat an inventory several times, use loops. For example:
code_language.skript:
command /b [<player>]:
    permission: modtools.use
    permission message: &7[&cHorizonTools&7] &cNo permissions
    Usage: &c/b playername
    trigger:
        if arg 1 is not set:
            send "&7&7[&4HorizonTools&7] &cUse: &7/b <player>"

        if arg 1 is set:
            open chest with 6 rows named "&4HorizonTools - Menu" to player
            set {_n} to 0
            loop 56 times:
                format a gui slot 0 of player with red stained glass pane named "&4" to do nothing
                add 1 to {_n}
            set {_diamond.axe} to diamond axe named "&4&lBan"
            set line 2 of lore of {_diamond.axe} to "&7Ban %arg 1%"
            format a gui slot 21 of player with {_diamond.axe} to close:
                make player execute command "/b-b %arg 1%"

            set {_fishing.rod} to fishing rod named "&9Kick"
            set line 2 of lore of {_fishing.rod} to "&7Kick % arg 1%"
            format a gui slot 23 of player with {_fishing.rod}  to close:
                make player execute command "/b-k %arg 1%"

            set {_blaze.rod} to blaze rod name d"&6Warn"
            set line 2 of lore of {_blaze.rod} to "&7Warn %arg 1%"
            format a gui slot 31 of player with {_blaze.rod} to close:
                make player execute command "/warn %arg 1%"#or the command would you create.
how can i execute bungee litebans command?
[doublepost=1558522929,1558445607][/doublepost]
how can i execute bungee litebans command?
It is not recommended to use SkQuery inventories, they have bugs.
And when you're going to repeat an inventory several times, use loops. For example:
code_language.skript:
command /b [<player>]:
    permission: modtools.use
    permission message: &7[&cHorizonTools&7] &cNo permissions
    Usage: &c/b playername
    trigger:
        if arg 1 is not set:
            send "&7&7[&4HorizonTools&7] &cUse: &7/b <player>"

        if arg 1 is set:
            open chest with 6 rows named "&4HorizonTools - Menu" to player
            set {_n} to 0
            loop 56 times:
                format a gui slot 0 of player with red stained glass pane named "&4" to do nothing
                add 1 to {_n}
            set {_diamond.axe} to diamond axe named "&4&lBan"
            set line 2 of lore of {_diamond.axe} to "&7Ban %arg 1%"
            format a gui slot 21 of player with {_diamond.axe} to close:
                make player execute command "/b-b %arg 1%"

            set {_fishing.rod} to fishing rod named "&9Kick"
            set line 2 of lore of {_fishing.rod} to "&7Kick % arg 1%"
            format a gui slot 23 of player with {_fishing.rod}  to close:
                make player execute command "/b-k %arg 1%"

            set {_blaze.rod} to blaze rod name d"&6Warn"
            set line 2 of lore of {_blaze.rod} to "&7Warn %arg 1%"
            format a gui slot 31 of player with {_blaze.rod} to close:
                make player execute command "/warn %arg 1%"#or the command would you create.
?
[doublepost=1558603511][/doublepost]Someone?
 
Bungee litebans command?

Just use a command like: "/ban %arg-2%"
Litebans can run threw a bungee but that doesn't mean that you have to execute it threw the bungee.
Just enter:


Code:
command /test [<string>] [<string>]:
    trigger:
        make player execute command "/ban %arg-2%"

This is an example.
 
Status
Not open for further replies.