mIRC Homepage
Posted By: Marantz Wrap and indent - 08/11/04 03:35 PM
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?

  
Posted By: qwerty Re: Wrap and indent - 08/11/04 04:11 PM
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)
© mIRC Discussion Forums