console command executing luckperms setprefix

  • 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 community!

    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.

Tonipop

Member
Aug 15, 2021
12
0
1
i having problem in this part of skript

Code:
if player's money is more than or equal to 1250:
    format slot 10 of player with light blue dye named "&9Police Rank" with lore "&eRequires 350 Charm" and "&fPrice: &a$1250" and "&7Duration: &f3 Hours" and "&e+ Access to Official's Rooms" and "&e+ Kit Police" to close then run [subtract 1250 from player's money]->[console command "lp user %player% permission settemp kit.rank.noob false 10800s"]->[console command "lp user %player% permission settemp kit.rank.police true 10800s"]->[console command "lp user %player% meta settempprefix "&9[P] &f" 10800s"]

it says:
console command "lp user %player% meta settempprefix "&9[P] &f" 10800s"] is not a valid lambda statement. (clicks.sk, line 19: format slot 10 of player with light blue dye named "&9Police Rank" with lore "&eRequires 350 Charm" and "&fPrice: &a$1250" and "&7Duration: &f3 Hours" and "&e+ Access to Official's Rooms" and "&e+ Kit Police" to close then run [subtract 1250 from player's money]->[console command "lp user %player% permission settemp kit.rank.noob false 10800s"]->[console command "lp user %player% permission settemp kit.rank.police true 10800s"]->[console command "lp user %player% meta settempprefix "&9[P] &f" 10800s"]')

And the error is this:

Code:
[console command "lp user %player% meta settempprefix "&9[P] &f" 10800s"]

so i was Wondering if there is other way to set prefix with luckperms .

prefix chat i already have one done.
[doublepost=1641500532,1641438675][/doublepost]nvm I found a solution i had to put :
Code:
[console command "lp user %player% meta settempprefix ""&9[P] &f"" 10800s"]

the correct is this
""&9[P] &f""

no
"&9[P] &f"
 
Status
Not open for further replies.