View Single Post
kriz_cold
Junior Member
Join Date: Mar 2016
Location: Chile
Old 07-22-2018 , 03:09   Re: [ANY] Universal Chat Filter (Version 1.1.0, 2018-03-31)
Reply With Quote #35

Quote:
Originally Posted by almostagreatcoder View Post
After some time of not looking into this plugin I finally released a new version 1.1.0 today!

The problems with the color flow are fixed now (no messages are cut off any more) plus the plugin is compatible with drixevel's chat-processor.

Have fun with it!
It works!!!
The plugin works smoothly (by the moment) and the colorflow don't show the {/COLORFLOW} thing when the text is too long!

Anyway the text is being cut sometimes
BUT!!
For some weird reason if you put 7 spaces after the colorflow in the replacement like this:
Code:
	"Kriztalknicerthanothers"
	{
		"mode"			"2"				// mode 2 means that the complete expression shall be replaced
		"penalty"		"0"
		"find"			"{Group:KRIZ}(.*){EXIT}"		// {EXIT} means that the chat processing shall stop after a match
		"replacement"		"{COLORFLOW:FF120F-FFFFFF-FFB90F}$1{/COLORFLOW}       "	// That's really cool: make a nice color flow!
	}
Code:
$1{/COLORFLOW}       "<---[Notice that 7 spaces!]
The problem is gone !

Sadly this means that if your chat text is 7 characters close to the limit that 7 characters will be cutted off, but holy cow who's gonna write that much! just avoiding that fixes the cutting problem

Last edited by kriz_cold; 07-22-2018 at 03:11.
kriz_cold is offline