#how would i use this in text?

1 messages · Page 1 of 1 (latest)

coral abyss
#

can i use this {rank::%{admin}%.current} in text?
"%{rank::%{admin}%.current}%" seems to not work, so what would be to correct way of doing it?

blissful prism
#

Does it give an error message or "<none>"? Also send_code

coral abyss
#
    trigger:
        send "the rank is: %{rank::%player%.current}%" ```
it gives <none>
```every 5 seconds:
    loop all players:
        if loop-player's name is {admin}
            stop
        else if loop-player has permission "rank.admin":
            set {rank::%loop-player%.current} to "admin
# and so on
blissful prism
#

Then it means your variable isnt filled in. Check your code on where you fill in your variable

coral abyss
#

console command "lp user %{admin}% parent add %{rank::%{admin}%.current%}"

#

this doesn't seem to work with a parser error ^

#

it can't understand condition but i fixed my var setting

blissful prism
#

Likely one of the vars isnt set put a broadcast before that console command and see if both are filled in