Jump to content

skquery gui help


amit865

Recommended Posts

function Menu(p: player):
    wait 1 tick
    open chest with 1 row named "Menu" to {_p}
    set slot 2 of {_p}'s current inventory to iron sword named "&fPlay" with lore "&7Click here to enter the queue!" to close




command /menu:
    executable by: players
    permission: op
    trigger:
        Menu(player)

error code: cant understand this condition/effect (line 4) 

i have skquery downloaded on my 1.17.1 minehut server

Edited by amit865
Link to comment
Share on other sites

I don't use skquery GUI i just use normal, so you could do something like this
 

also you need the on inventory click event to know what your clicking on and set the tag to the player, then the slot number, but I don't do skquery GUI, I use vanilla 

 

function Menu(p: player):
    wait 1 tick
    set metadata tag "name the tag" of {_p} to chest inventory with 1 rows named "&6Upgrade Generator - Level 1"
    set slot 2 of metadata tag "name the tag" of {_p} to iron sword named "&fPlay" with lore "&7Click here to enter the queue!"
    open (metadata tag "name the tag" of {_p}) to {_p}
Edited by Skymner

Just a skripter who likes to have fun

I also think I'm pretty good at it

PS my discord is Enchanted#3933 incase idk anything?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...