Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:28 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.