#How do I put '%' next to each other without doubling up?

1 messages · Page 1 of 1 (latest)

idle basalt
#

I don't want a space in between but if they are next to each other I get an error because Skript thinks I am doubling percentages
set chat format to "%player's prefix%%player%: &r%colored message%"

sullen lantern
#

Try escaping one?

#

Use a "\%"

idle basalt
#

I did

sullen lantern
#

IDK if that works

idle basalt
#

but it includes the \ in the message when I chat

sullen lantern
#

weird

delicate sleet
#

What is the problem? and why there is a space in this variable

thick narwhal
delicate sleet
#
  1. Don't ping me if you're not going to reply anything productive.
  2. There is no need to insult.
plain rover
young valley
#

i should be %prefix% %player% not %prefix%% player%

#

try to look through your code carefully

idle basalt
#

I literally explained that I don't want a space between them

#

But escaping doesn't work

idle basalt
idle basalt
delicate sleet
#
on chat:
    set chat format to "%player's prefix%%player%: &r%colored message%"

So the error occurs when you use the code like this?

#

I don't see what the problem is, in my case it works fine 🤷‍♂️

idle basalt
#
    set chat format to "%player's prefix%%player%: &r%colored message%"```
This gives an error because it thinks I'm doubling the '%' like "%%something%%"
idle basalt
delicate sleet
#

I wouldn't answer if I hadn't read it, in any case send /sk info

idle basalt
#

Ok I will when I'm home

#

Thanks for the help ig