I have the following problem:
I wish to add more colour to some of the incoming data, while modifying it dynamically too. All incoming packets run through my scripts, before they are returned to MC for displaying. Unfortunately, one packet can contain more that one 'message' that I need to modify. They get split and processed one by one, but.. thats where the problem starts.
I can't insert anything except the standard ANSI colours into the data (and those are unfortunately not enough). I can't return multiple chunks of data one by one from OnPluginPacketRecieved (otherwise I'd run ColourNote after each chunk). One of my approaches was to try to display the chunks with ANSINote, but that ultimately disables trigger matching, because MC doesn't recognize that data as being sent by server anymore (and yes, for a good reason, I know).
Right now, I see no other solution than to create a unique one-shot trigger for each chunk. And that sounds.. cumbersome.
Does anyone have another idea?
Thanks!
I wish to add more colour to some of the incoming data, while modifying it dynamically too. All incoming packets run through my scripts, before they are returned to MC for displaying. Unfortunately, one packet can contain more that one 'message' that I need to modify. They get split and processed one by one, but.. thats where the problem starts.
I can't insert anything except the standard ANSI colours into the data (and those are unfortunately not enough). I can't return multiple chunks of data one by one from OnPluginPacketRecieved (otherwise I'd run ColourNote after each chunk). One of my approaches was to try to display the chunks with ANSINote, but that ultimately disables trigger matching, because MC doesn't recognize that data as being sent by server anymore (and yes, for a good reason, I know).
Right now, I see no other solution than to create a unique one-shot trigger for each chunk. And that sounds.. cumbersome.
Does anyone have another idea?
Thanks!