Quote:
Originally Posted by almostagreatcoder
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! ![Smile](images/smilies/smile.gif)
|
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
![Very Happy](images/smilies/biggrin.gif)
!
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