Ok, this is actually technically a SMAUGWiz question, but, from everything ive found so far, apart from "linguistic subtleties", SW and SMAUG are essentially the same, so here goes.
In sending blocks of text to the descriptor, ie mostly in the case of descs, mob/room/obj, or note text, it autowraps at about 80 characters. This is fine on its own, however, the 80 characters INCLUDES "colour strings" ie "&[", "&x" and the like, that wont actually be seen as such by the end user, but stripped and used to control the colour of words. By including such things in the "wrap limit", in cases where colour is used, the wrapping APPEARS to be incorrect, because some lines seem much shorter and the like, as and where colour is used. I searched through the code of the sendtext, sendcolor and similar functions, and the descriptor functions that they call, but found nothing pertaining to where or how they did the wrapping, in order to somehow modify to exclude colour strings from the count. Thus, if anyone could point me towards where to look or what to change, or if one were to exist (though i -think- i made a fairly thorough search), i would be most grateful.
Thanks in advance
In sending blocks of text to the descriptor, ie mostly in the case of descs, mob/room/obj, or note text, it autowraps at about 80 characters. This is fine on its own, however, the 80 characters INCLUDES "colour strings" ie "&[", "&x" and the like, that wont actually be seen as such by the end user, but stripped and used to control the colour of words. By including such things in the "wrap limit", in cases where colour is used, the wrapping APPEARS to be incorrect, because some lines seem much shorter and the like, as and where colour is used. I searched through the code of the sendtext, sendcolor and similar functions, and the descriptor functions that they call, but found nothing pertaining to where or how they did the wrapping, in order to somehow modify to exclude colour strings from the count. Thus, if anyone could point me towards where to look or what to change, or if one were to exist (though i -think- i made a fairly thorough search), i would be most grateful.
Thanks in advance