#level color not showing

1 messages · Page 1 of 1 (latest)

smoky plinth
#
    if {levels::%player's uuid%} >= 10:
        set the chat format to "&8[&7%{levels::%player's uuid%}%&8] %player's prefix%%player%&r: &f%message%"
    else:
        set the chat format to "&8[&f%{levels::%player's uuid%}%&8] %player's prefix%%player%&r: &f%message%"
        send "&aDebug: Your level is %{levels::%player's uuid%}%" to player```

its always using the else value even though my level is 10
keen wraith
#

did you set it through a command?

#

is the argument type string or text instead of integer?

smoky plinth
#
    trigger:
        if arg-1 is "Level":
            if arg-2 is "set":
                set {levels::%player's uuid%} to arg-3```
keen wraith
#

can you !broadcast "%{levels::%player's uuid%}% / %class info of {levels::%player's uuid%}%"

smoky plinth
keen wraith
#

Yes. Can i see the message?

smoky plinth
#

none of the "!" commands are working on my server

brisk plume
smoky plinth
smoky plinth
keen wraith
#

Okay

  1. Do ypu have other chat events that are cancelled?
  2. Send sk info
keen wraith
#

If the chat event is being cancelled then this code wont work

smoky plinth
#

ah alright

brisk plume
#

Debug it

smoky plinth
#

i got it working, thanks