so I gotta work with the strings before hand.
so
NPC Code:
setstring thiso.umessage,blahblahblahblah;
this.chars = strlen(thiso.umessage);
this.loops = int(this.chars/10);
for (a=0;a<this.loops;a++) {
//insert #b stuff here?
}
I think this is how it should go but the problem is getting the #b into the string. I've been looking around and trying several different things but I can only think of setting a new string for every 10 chars. Inefficient I think.