Hello! Today i was trying to make a skript to change a person's group on luckperms. I wanted it to be the same command and then an argument that said what to do (Promote, demote, fire, hire).
Here's what i tried out:
command /carabinieri [<text>] <player>:
permission: assumi.carabiniere
trigger:
set argument 1 to {func}
if {func} is "assumi"
make console execute command "lp user %arg 2% parent set carabiniere"
The error code i got is "Can't compare "if {func}" with a text. I hope it is clear to everyone
Thanks!
-NotRadish
Here's what i tried out:
command /carabinieri [<text>] <player>:
permission: assumi.carabiniere
trigger:
set argument 1 to {func}
if {func} is "assumi"
make console execute command "lp user %arg 2% parent set carabiniere"
The error code i got is "Can't compare "if {func}" with a text. I hope it is clear to everyone
Thanks!
-NotRadish