Recent Discussions
Chat formatting issue with Chatcontrol 11 & Regex (also known as chatcontrolred)
Open in DiscordUnanswered
Giant panda posted this in #questions
13 messages
0 views
Giant pandaOP
trying to format the plugin to detect when double quotations are being used and change the color of the text inside quotes using Regex in order to make them more readable
It kind of works, the plugin detects when characters are between two quotation marks and changes their color, however now the plugin takes the first quote it detects and just replaces all other quotes that come after it with the first one for some reason? No idea why, no idea how to fix.
It takes this-->
But sends this in the chat -->
It kind of works, the plugin detects when characters are between two quotation marks and changes their color, however now the plugin takes the first quote it detects and just replaces all other quotes that come after it with the first one for some reason? No idea why, no idea how to fix.
It takes this-->
Character walks into a bar "hello there" he says "what a day" he adds.
But sends this in the chat -->
Character walks into a bar "hello there" he says "hello there" he adds.
We can't help without seeing what you are actually doing
@North Pacific hake Send the config
Giant pandaOP
the entire config for chatcontrol or just the part that does the chat formatting?
North Pacific hake
just the chat formatting bit should be fine
@North Pacific hake just the chat formatting bit should be fine
Giant pandaOP
this is the config for the chat formatting, the part that makes substrings inside quotes white starts at the top
message.txt
DownloadGiant pandaOP
This issue has not been solved yet!
Im not sure if what I want to do (making the substrings inside quotation marks white unlike the rest of the message) is even possible in chatcontrolred? I have no idea why its giving an error
Im not sure if what I want to do (making the substrings inside quotation marks white unlike the rest of the message) is even possible in chatcontrolred? I have no idea why its giving an error
North Pacific hake
yeah it seems like he does the regex matching and replacing in a fairly nonstandard way which makes it a bit hard
this would work fine in most regex implementations
@North Pacific hake yeah it seems like he does the regex matching and replacing in a fairly nonstandard way which makes it a bit hard
Giant pandaOP
So..? You think its fixable or do we need to switch to a different plugin?
North Pacific hake
id recommend asking in the support server if theres some sort of alternative method for this
Giant pandaOP
As far as i know the dc is not allowed to be used as support :,)
The only option left is github
Loading...
Loading...