This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

How to make text printing to screen go to a new line

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
w
willyw
Revered One
Posts: 1203
Joined: Thu Jan 15, 2009 12:55 am

How to make text printing to screen go to a new line

Post by willyw »

Hello,

Using a script by slennox - partmsg.tcl. But that is just an example.

In it, is a place to edit the text that it will send.


I've found:
http://forum.egghelp.org/viewtopic.php?t=3867
and it is quite helpful for colorizing the text.

I have a line, in the above mentioned script, like this:

Code: Select all

"Goodbye \002%nick\002,  hope to see you again soon!  \00301,15www.somewebpagehere.com\003  and here in \00301,15#ourchannel\003 channel"
But what I'd really like to do, is have it start on a new line, right after
"soon!" .
So that a new lines starts with the web page url.

I hope I've described what I want well enough.

Is there some sort of control character or something that I could put in the line, to make it go to a new line?

Thanks
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Not without editing the script to support several lines of text.

I suppose one approach would be to store each line in a list, then iterate through that list using a foreach-loop
NML_375
Post Reply