![]() |
showimg question(s)
ya, i have a couple questions, I made a rough chat system for a non-p2p server, and yes, i have a couple question(s).
I make it print out what you say to the other chatters (in this case myself :P) using showimg, and yes, i run into the problem of chat characters 'running' off the page. I am wondering if its possible to get the length of a showimg, so i can trim it down. I though tokenize, but then relized it would be exactly the same problem, if someone entered extremely long sentences. If you can offer any help, please post :P |
see newfeatures2001.txt, specifically, the section on wraptext and wraptext2.
|
Quote:
something like this? // The graphics I'm using of only for testing, actual graphics are being made. wraptext2 imgwidth(norin_chat.gif)-4,.75,,SHOWIMG THING HERE; |
wraptext/2 is just a different form of tokenize...
|
Quote:
|
Quote:
|
Wraptext creates tokens of certain length, you must then use showtext with the tokens.
|
I think I get this now, thanks o:
|
Quote:
If you think wraptext is nothing more than tokenize by another name, you have a higher chance of forgetting what it is good for :) |
what I ment by different form was that it is different than tokenize in that in divides the string into tokens but in a different way but it still makes tokens
|
All times are GMT +2. The time now is 11:40 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.