mIRC Home    About    Download    Register    News    Help

Print Thread
#15510 15/03/03 03:44 PM
Joined: Feb 2003
Posts: 11
T
totally Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: Feb 2003
Posts: 11
Maybe make it possible to add like

echo -a {
Line 1
Line 2
Line 3
}
but maybe add like 'echo -k' the 'k' will make it possible to use the brakets.
then you would make scripts smaller because you wouldnt need to use
echo <text>
echo <text>

#15511 17/03/03 03:43 AM
Joined: Mar 2003
Posts: 50
C
Babel fish
Offline
Babel fish
C
Joined: Mar 2003
Posts: 50
this may be close to what your talking about, but not exactly, try checking the help file for $&. Not sure if thats what you mean, but it serves a similar purpose.

The $& identifier
This identifier allows you to break up a single line into multiple lines which are combined when the script is performed, so you can edit long commands more easily:

longline {
echo This is an example of a long $&
line that has been split into multiple lines $&
to make it easier to edit
}

#15512 17/03/03 06:32 AM
Joined: Dec 2002
Posts: 266
Z
Fjord artisan
Offline
Fjord artisan
Z
Joined: Dec 2002
Posts: 266
That all echo's on the same line, he wants it too echo on multiple lines and I think it's a great idea.


You won't like it when I get angry.
#15513 18/03/03 09:29 AM
Joined: Jan 2003
Posts: 154
B
Vogon poet
Offline
Vogon poet
B
Joined: Jan 2003
Posts: 154
you're a lazy bum. :P

echo does not take much to type.. But here's a script if you want to use it. It's not quite what you have there, but it's something similar..

Usage: //echo $echok(text,more text, etc, etc etc..).N

N = the number of the color or prefix for every line you want to use.. N is optional.
4 examples:
Code:
//echo $echok(text,more text, etc,  etc etc..)
//echo $echok(text,more text, etc,  etc etc..).12
//echo $echok(text,more text, etc,  etc etc..).12-
//echo $echok(text,more text, etc,  etc etc..).$rand(4,9)

The code (stick it in a remote file)
Code:
alias echok {  var %.i 1 | var %echok $ $+ %.i | while ( [ [ %echok ] ] != $null) { echo [ [ $prop ] ] [ [ %echok ] ]  | inc %.i | set %echok $ $+ %.i } }


Well, I hope this'll help you. smile


- Wherever you go there you are.[color:lightgreen]

Link Copied to Clipboard