mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2006
Posts: 3,944
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,944
Evaluating an identifier which constitutes the end of a line in an editbox, aka the last token, results in the editbox being "glitched": the newtline sequence is eaten as well as the first word of the next line or everything from that position onward.

Evaluating $cr, $lf, or $crlf also result in
Quote
* No such identifier: $crlf
CD
* No such identifier: $lf
IJ
aka the error message itself has a literal newline sequence in it, coming from the misinterpretation of $crlfCD etc.

Courtesy of maroon, you can use that to quickly test:

Code
//clipboard AB foo $!crlf $+ $crlf $+ CD bar $!len(if.next.line.has.2+.words+only.eats.crlf+1st.word) $+ $crlf $+ EF foo $!CHR(33) $+ $crlf $+ GH bar $+ $crlf $+ IJ foo $+ $crlf $+ KL $!len(deletes.all.following.1.word.lines.until.line.has.2.words) $+ $crlf $+ MN $+ $crlf $+ OP $+ $crlf $+ QR foo $+ $crlf


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Dec 2002
Posts: 5,170
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,170
Thanks this issue has been fixed for the next version.


Link Copied to Clipboard