How do I fix the suffix in my skript?

Discussion in 'Bukkit Help' started by Electrical_Zap, Jul 7, 2020.

  1. Offline

    Electrical_Zap

    I'm making a skript to change the prefix and suffix of a player in the chat.
    I got the prefix working right. but the suffix does not show up
    Code:
    command /suffix  [<text>] [<offline player>]:
        trigger:
            set {suffix.%player%} to "&a&l[Criminal]"
    on chat:
        cancel event
        broadcast "%{suffix.%player%}% &7%player% {}&8>> &f%message%"
     
    Last edited by a moderator: Jul 7, 2020
  2. Offline

    KarimAKL

    @Electrical_Zap You probably want to set it to something like this:
    Code:
    "%{prefix.%player%}% &7%player% %{suffix.%player%}% &8>> &f%message%"
     
  3. Offline

    dellahowell

    Well, that was stupidly simple. Thanks.v
     

Share This Page