I haven't gotten around to messing with it yet, In all honesty I've never had the need to use alot of color codes in a single line before lol.
But I'll check it out in a bit and see what I can fiqure out.
Ok, yea I guess we should fix it since if you actually choose to do a color code for each letter it changes
1> testing out the color deal in the editor etc, since i think we all want it to w
2> testing out the color deal in &
1 was with no color codes and 2 was with a color code for each letter
Now to see if theres a good and easy fix for this
While I don't feel like working up a whole fix for this lets take a look at this you showed
if( strlen_color( argument ) > 79 )
strncpy( buf, argument, ( strlen_codes( argument ) + 79 ) );
buf[strlen_codes( argument ) + 79] = '\0';
send_to_char( "(Long line trimmed)\n\r> ", ch );
strcpy( buf, argument );
Ok so first you use strlen_color to see if argument (without counting color codes) is above 79
If it is then you take and copy argument into buf using strlen_codes (assume that strlen_codes actually only counts the valid color codes) and adding 79 onto it? and then your setting buf[using the same max] = '\0'
Now don't get me wrong since I'm not exactly sure of all your changes here, at least in stock SmaugFUSS instead of the = '\0'; its doing = 0; so you might want to give that a try, if that doesn't work we would have to see your strlen_codes and strlen_color functions.