This is strange. If I set the variable as shown in this thread:

//set %a $str(a,4000)

And then open the editor, I get the message warning me not to save it. The value of the variable is shown like this:

%a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa....
aaaaaaaaaaaaaaaa...

If I DO click OK to save the value, and then use an identifier to check the value of %a, the value is still correct.

//echo -a > $len(%a)

> 4000

Even if you edit the value of the variable by adding or removing characters, the correct values are still returned. It seems like the editbox wraps the text, but does NOT include the $crlf(s) when reading it. ie. The values appear on two lines, but windows/mirc treats them as one continuous line. This is similar to how windows displays the name of a file when you are editing it/viewing it as an icon on the desktop.

Code:

|-------|
|       |
| ICON  |
|       |
|-------|
ThisIsAVe
ryLongFil
eNameInAW
indowsDes
ktopIcon



When you hit enter after changing the filename, even though it is wrapped around, the filename doesn't contain any $crlf's.

If this is true in mIRC's variables editor tab, then simply remove the warning for that particular situation.

-genius_at_work

Last edited by genius_at_work; 08/06/08 04:42 PM.