#/staff not recognized?

1 messages · Page 1 of 1 (latest)

unreal spoke
#

Can someone help?

#

whoops

ionic badger
#

why is there a random command on the 4th line

#

also why are you looping 5 times

unreal spoke
#

so that it gets rid of all parent groups

#

and that is just the size of your window

ionic badger
#

doesn't it just clear it if u just do it once

unreal spoke
#

not all of them

#

see look

#

for me

#

the command is on 3rd line

#

its the size of your windows

#

*window

ionic badger
#

also instead of command /staff <text> <text>:, the 1st arg should be <player> or <offlineplayer>

ionic badger
unreal spoke
#

okay but what about it not being recognized?

ionic badger
#

uhh

ionic badger
#
  permission: usteal.ranks
  permission message: &cYou do not have permission to execute that command
  trigger:
    loop 5 times:
      execute console command "/lp user %arg-1% parent clear"
      stop
    execute console command "/lp user %arg-1% parent add %arg-2%"
    set {staff.%arg-1%.uuid} to true
    send "&a%arg-1% has successfully received their staff rank."```
#

thats the same skript but in code blocks btw

#

set {staff.%arg-1%.uuid} to true if you're tryna use their uuid, it would be {staff::%arg-1's uuid%}

unreal spoke
#

k

#

command /staff <text> <text>: permission: usteal.ranks permission message: &cYou do not have permission to execute that command trigger: loop 5 times: execute console command "/lp user %arg-1% parent clear" stop execute console command "/lp user %arg-1% parent add %arg-2%" set {staff::%arg-1's uuid%} to true send "&a%arg-1% has successfully received their staff rank."

#

done

unreal spoke
#

oh

#

command /staff <player> <text>: permission: usteal.ranks permission message: &cYou do not have permission to execute that command trigger: loop 5 times: execute console command "/lp user %arg-1% parent clear" stop execute console command "/lp user %arg-1% parent add %arg-2%" set {staff::%arg-1's uuid%} to true send "&a%arg-1% has successfully received their staff rank."

radiant terrace
#

Not 1

unreal spoke
#

?

#

what are "those things"?

trail tapir
#

```code```

#

that way it does all lines

stone hound
#

!format

clever windBOT
# stone hound !format

:technologist: Code Blocks

To make it easier for others to read your code, it is asked that you send it in a code block. On Discord, you can simply send this:

```
Code here
```

stone hound
#

@unreal spoke did the code work? If so give me it ^-^

unreal spoke
#

Hey, so sorry i didnt respond but the skript has been fixed. A addon was broken and compromised the skript.

#

/close

stone hound
#

@unreal spoke can i please have the code?

viral ruin
viral ruin
#

If not go to #job-board where it is like a 0.1% chance someone hleps you