#command permission problem

1 messages · Page 1 of 1 (latest)

tender salmon
#
    if all:
        projectile is a snowball
        victim is an entity
    then:
        execute console command "lp user %victim% parent set elf"
        make victim execute command "function snow:game/death"
        execute console command "lp user %victim% parent remove elf"
        add 5 to score of shooter for objective with id "points"
        broadcast "❆--%victim% has been killed by %shooter%--❆"```

soo I was tryna make player run this function which he don't have perms to run but I gave permission from the lp group and I've removed the group after that but however it still says don't have permission to run the cmd

but the group have permissions and ig all are working fine

does anyone know why ???
and any other suggestions to do this ???
thick jasper
#

dont you need true in the command?

#

also if the console command "function snow:game/death" executes skript code, just use an actual function

tender salmon
#

soo when I added someone to the group he/she can use the command

earnest lotus
#
function myFunction(p: player):
  give {_p} 1 stone named "Test"

command test:
  trigger:
    myFunction(player)```
tender salmon
#

I do know wt it used fro bt wdym by Myfunction()

thick jasper
#

That is a function

#

Which it seems you should probably use if I understand what youre trying to do

earnest lotus
tender salmon