Thread: Strings
View Single Post
  #4  
Old 09-20-2003, 05:37 AM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
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.
__________________

Job: A Legend

And you think that you have played Graal forever? Ha!
Reply With Quote