egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

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

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Fri Feb 06, 2009 3:34 pm    Post subject: How to make text printing to screen go to a new line Reply with quote

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:

"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
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Fri Feb 06, 2009 4:55 pm    Post subject: Reply with quote

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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber