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
  #1  
Old 09-19-2003, 11:19 PM
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
Strings

Ok I have been working diligently to create a Mailbox system for the Bravo Online playerhouses. I have EVERYTHING working great. But there is one thing I have come across which I knew would be a problem. So heres what I have come up with:
Suppose I have a message 30 characters long. Now lets say graal can only hold 10 per line in a say2. I can get how many lines I need by dividing 30 by 10. I get 3. Right? Right. Now this paragraph is in a string. How am I going to get a #b after every 10 characters for every line until maxlines (3) - 1. The last part is to keep an extra #b after the last line in a message.

If this were a variable I could do it, but I do not operate well with strings. Anyone have an idea?
__________________

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 08:35 AM.


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