#Skript rank permission.

1 messages · Page 1 of 1 (latest)

wind shuttle
#

permission: rank.pro (or whatever permission you have linked to your pro rank)

#

You’d put that on the line above your trigger: line.

wind shuttle
#

Yea

#

Wait no lol

#

Put the trigger: line last

queen viper
queen viper
devout garnet
queen viper
#

where to put this?

devout garnet
#

so remove trigger: from options

queen viper
#

and?....

devout garnet
#

just remove trigger: from options and it will work

wind shuttle
#

That will error as well

devout garnet
#

no

#

what are you talking

wind shuttle
#

yes it will

#

all commands need a trigger: line or they won’t parse correctly

queen viper
#

no error but if i am member i still can get it

devout garnet
#

as i said, you dont need triggers in options

#

you do need trigger in commands

wind shuttle
#

Just put send “” after the trigger line

#

I thought you meant the command my bad

#

Yes trigger: cannot be in options.

queen viper
wind shuttle
#

You need to have the permission in the command itself. You only have it declared in the options right now.

#

So the command isn’t checking for a permission at all.

#

so move the lines in options down to the command.

devout garnet
#

you can have the prefix in options aswell

wind shuttle
#

Prefix stays in there yeah

queen viper
#

ok i will try wait a sec

#

wait how do i put prefix in here

#

?

wind shuttle
#

the permission and cooldown lines down to the command

#

Wdym by prefix

wind shuttle
#

You can leave the prefix line in the options to reference it later is what he’s saying

#

Commands cannot have a prefix line, though

queen viper
#

ok look

dense sandal
#

Hiii

wind shuttle
#

it might be more beneficial for you to look this over: https://skripthub.net/tutorials/10

queen viper
wind shuttle
dense sandal
queen viper
#

hi

wind shuttle
# queen viper

There isn’t anything wrong with that skript technically. However it isn’t going to do what you want it to.

#

Read the link I provided and it will show what you need to have in order for the command to require permissions, have a cooldown, etc.

queen viper
#

it has a regular premission but how can i do a rank permission

#

?

wind shuttle
#

You make a rank that has the permission “rank.pro” or something

#

Then you put rank.pro in the permission line of your command

queen viper
#

like this?

wind shuttle
#

You have to put the trigger line last

queen viper
#

wdym

#

how?

wind shuttle
#
command /command:
     permission: rank.pro
     trigger:
         code
#

You have to put the trigger line after everything else

queen viper
#

ok lets try

#

מםפ

#

nop

#

it doesn't work

wind shuttle
#

Errors?

#

Code?

queen viper
#

nop

#

This is saying

#

when I am doing the command it tells me:
you don't have the required permission to use this command

wind shuttle
#

Yeah

#

probably because you don’t have the permission rank.pro

queen viper
#

so what to do?

wind shuttle
queen viper
#

I already did

wind shuttle
#

Are you sure?

queen viper
#

yes

wind shuttle
#

Double check that you have the permission that you put on the permission line

#

might have been a typo or something

queen viper
#

?

wind shuttle
#

and you have the permission “rank.pro” exactly?

#

no misspellings or typos?

queen viper
wind shuttle
#

dude

#

no

queen viper
#

wdym

wind shuttle
#

There is no rank.pro permission in that list

#

therefore you don’t have it

queen viper
#

I showed you i have rank pro

wind shuttle
#

no

queen viper
#

wdym i dont have?

wind shuttle
#

the permission you have to give yourself is literally “rank.pro

#

Rank.pro does not reference the rank named pro

#

you have to add “rank.pro” to the permissions of the pro rank

queen viper
#

like this?

wind shuttle
#

yes

#

it should work now

queen viper
#

yessss

#

tytytyty

#

so muchhhh

#

tytytyt

#

I love you

#

There is anyway do you know also a issue in board skript? @wind shuttle

wind shuttle
#

what

queen viper
#

why is that?

wind shuttle
#

Probably not formatted correctly

#

do %formatted {prefix}%

queen viper
#

ok wait a min

#

(this is in tab)

wind shuttle
#

use your prefix variable in place of {prefix}

queen viper
#

Wdym

wind shuttle
#

whatever the variable the prefix is in, use that instead of {prefix}

queen viper
#

So what to do in skript?

#

(What to write?)

wind shuttle
#

I have no idea dude

#

I dont know what your variable is

queen viper
#

How can I know it?

mystic turret
#

hacks

dense sandal
#

Bro

wind shuttle
#

Erm

dense sandal
#

kfira

queen viper
#

?

dense sandal
#

Do you have vault plug-in installed

queen viper
#

Yes

wind shuttle
#

You dont know your own prefix variable?

dense sandal
#

send plug-in list

#

ActuLly use a hex fix function

#

Smh

queen viper
#

Wait 2 min I a comming back my sister is crying...

#

Ok back

#

So what to do @wind shuttle

wind shuttle
#

Dude i have no idea

#

You dont even know the variable you’re using for the prefix

queen viper
#

Do you mean the rank's prefix?

wind shuttle
#

yes

wind shuttle
# queen viper

whatever you’re displaying on the line that looks wonky in this

queen viper
#

prefix.3.&#34c0fc&l&o◈ &#34c0fc&o&lAd&#34ccfc&l&ov&#45c5fc&l&oanc&#8be1fd&l&oed ◈

#

what to do now?

#

@wind shuttle ?

wind shuttle
#

what

#

bro you need the variable name

queen viper
#

Advanced

#

this is the name

wind shuttle
#

im tired boss

queen viper
#

Please

#

I need you

mystic turret
wind shuttle
#

anime pfp

#

ignored