#Skript Gui problem
1 messages ยท Page 1 of 1 (latest)
the player
custom command
it's gonna be like a /rank command
/rank player (rank)
then make player execute command "<your custom command without the slash>"
but players shouldnt be able to change thier own rank
oh gotcha
also
another thing
about the change gamemode to
can you like not set another permission to it too?
Like to click the grass block u need to have another permission
well yes, depends what you want the permission to grant exactly
@mystic spruce
i have another question
what if i only want specific ranks to click the block?
how do i do that
ive never used the addon you are using for your gui, i always had an on inventory click: event
you have some and run: thingy
also
if i wanted to run the command on someone
like /gui (Player)
how do i do that on the command?
@mystic spruce
if you wanted to open that gui for that player using that command, you have to define that command
make your own
noo
easy
very sorry about that sire
you run the command and then something happens to that player?
right, which is making a custom command ๐
take this example
you can also add cooldown: 10 seconds and aliases: /teleport above the trigger:
well read up on the skript docs about commands and their arguments
<player>
lots of info and exmaples there
right
thats the argument that you type out yes
close, but instead of to player use to arg-1, referring to the first argument, which is <player>. in skript, just saying player usually means the one who executed the command or did the event
in my example, player and executor are interchangable
this is a similar thing i made, that maybe you can take inspiration form
that is the gui part, and this is the actual getting stuff done part