mIRC Home    About    Download    Register    News    Help

Print Thread
Wrap and indent #102425 08/11/04 03:35 PM
Joined: Mar 2003
Posts: 160
Marantz Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Mar 2003
Posts: 160
I was just wondering if it's possible to use echo -i in a similar way to $wrap, i don't like using $wrap because i don't like the way it will just cut words off and urls etc.. and indent doesn't do that, but if you're using alignment, and the line exceeds it's maximum length and then indents it, i get something like this
Code:
|@| Marantz | hi blah
|@| blah    | hi Marantz dfhjshjfdgp'hjkfgp'dkjfgdjkfgdjkfg[dojkfg
              fdshdfshjfdlhjdsfhjdsfgjhdfihjdfjhdfh
|@| Marantz | lol

i wish the indented bit would put |@| and the lines to stop the breaking of the alignment if you understand me, is it possible with echo -i?

  

Re: Wrap and indent #102426 08/11/04 04:11 PM
Joined: Jan 2003
Posts: 2,523
Q
qwerty Offline
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
No, it's not possible with /echo -i, however, have you tried $wrap with the optional [word] parameter? Look up $wrap in the help file. Examples:

//echo -a $wrap($str(wholeword $+ $chr(32),50),fixedsys,-9,500,0,1)

//echo -a $wrap($str(wholeword $+ $chr(32),50),fixedsys,-9,500,1,1)


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com