#how to skript with luckperms

1 messages · Page 1 of 1 (latest)

tacit yoke
#

I have no idea how to use skript with luck perms
What I want to do first is whenever the player is promoted give them boots

naive narwhal
tacit yoke
#

what

#

what if u promoted the player with skript

#

and depending on there rank is what level of boots I would give them so how would I check what rank they have>

lucid nacelle
#

player's group refers to their ranks

#

Also, I have a tingly feeling I know what kind of server you're trying to make

tacit yoke
#

oh

#

ok

lucid nacelle
#

Is it something pertaining to a certain minecraft youtuber? If so, I know

tacit yoke
#

yes...

lucid nacelle
#

Anyway, player's group returns a string so you can use that

tacit yoke
lucid nacelle
#

Then you can put the code when you promote them

tacit yoke
#

what?

lucid nacelle
#

It'd be a lot easier to see your code then know what to do

tacit yoke
#

but I haven't started any code cuz I have no idea how to skript with lp

lucid nacelle
#

set player's group to ""

tacit yoke
#

oh ok

lucid nacelle
#

That'll set their parent rank

tacit yoke
#

k

#

I will play around with that

#

wait

#

what about promote

#

that just sets

lucid nacelle
#

I'm not sure if there's direct syntax

tacit yoke
#

oh

lucid nacelle
#

what I'd do is make a function to check their current group and then promote them based on that

#

so if {_p}'s group = "": set {_p}'s group to ""

#

This is an evbo server, correct?

tacit yoke
#

ok

lucid nacelle
#

Is it?

tacit yoke
#

yeah

#

it is

lucid nacelle
#

makes sense

tacit yoke
#

ok

#
    send "You entered %region%" to player
    if player's group = "default":
        set player's group to "pro"```ok
#

it works

#

yay

#

closing post...