ID:173943
 
Say(T as text)
world << "[usr.name] says,[copytext(T,1,400)]"

I am having slight problems with copytext() If 60 characters or more are typed the text scrolls down, Example:

Texter says,
*60 letters or more here*

if I type less then it works normaly like so, Example

Texter says, Hi

Would this be a Byond Error or a screw up in my code?
Texter wrote:
Say(T as text)
world << "[usr.name] says,[copytext(T,1,400)]"

I am having slight problems with copytext() If 60 characters or more are typed the text scrolls down, Example:

Texter says,
*60 letters or more here*

if I type less then it works normaly like so, Example

Texter says, Hi

Would this be a Byond Error or a screw up in my code?


try that


Say(T as text)
T=copytext(T,1,400)
world<<"[usr.name] says,[T]"
If your not using spaces in your msg, then it is supposed to do that. Word wrap is a feature, not a bug. :)