kangarko / ChatControl-Red

Issue tracker and documentation for the next generation ChatControl Red, the most advanced chat management plugin.
49 stars 24 forks source link

1.16.5: apostrophe uses config in variables #1922

Closed SinonCute closed 2 years ago

SinonCute commented 2 years ago

image

the apostrophe using configuration in variables does not work correctly, it fails when the return data of variables contains a '

Minecraft Version: 10.11.5 MySQL: tfalse BungeeCord: false

TheIntolerant commented 2 years ago

Have you tried this

"'siro_dot" != "'"
SinonCute commented 2 years ago

siro_dot' is a data return of a variable

TheIntolerant commented 2 years ago

siro_dot' is a data return of a variable

My apologies, I should of explained myself better, anyhow, did using double quotation marks the variable work? What is your setup for this?

kangarko commented 2 years ago

You can use 'siro_dot\'' or double quotes and it should load normally, thank you.

SinonCute commented 2 years ago

image it still doesn't work please check because this is a very serious error, my log database has been corrupted because of this

TheIntolerant commented 2 years ago

image

it still doesn't work please check because this is a very serious error, my log database has been corrupted because of this

If you are checking that the placeholder does not equal ' than your condition needs to be as follows

Sender_condition: "{townyadvanced_towny_postfix}" != "'"