mIRC Homepage
While testing the new strikethrough text I discovered the /strip is not working correctly in v7.0 and newer.

(I'm using a Windows 7 computer, ignore the "Vista" in the 6.35)

Code
//clear | echo -ag $os $version $beta | strip -buric | strip +buric | strip +buri-c | strip +bu-ric | strip +b-uric


...

Vista 6.35
* Stripping is off
* Stripping: Bold, Underline, Reverse, Color
* Stripping: Bold, Underline, Reverse
* Stripping: Bold, Underline
* Stripping: Bold
...

7 7.0 beta16
* Stripping is off
* Stripping: Color, Bold, Underline, Reverse, Italic
* Stripping: Bold, Underline, Reverse, Italic
* Stripping is off
* Stripping is off
...

7 7.67 1163
* Stripping is off
* Stripping: Color, Bold, Underline, Strike, Reverse, Italic
* Stripping: Bold, Underline, Strike, Reverse, Italic
* Stripping is off
* Stripping is off
...

And another test:

Code
//echo -ag $os $version $beta | strip -bcusri | strip +c | strip +b


...

Vista 6.35

* Stripping is off
* Stripping: Color
* Stripping: Bold, Color

...

7 7.0 beta16
* Stripping is off
* Stripping: Color
* Stripping: Color, Bold, Underline, Reverse, Italic

...

7 7.67 1163
* Stripping is off
* Stripping: Color
* Stripping: Color, Bold, Underline, Strike, Reverse, Italic

...
Thanks for your bug report. The reason for this is that the /strip command represents the setting in the Options/Messages dialog which allows you to strip "color" or "other" codes. This was broken in v6.35 and was fixed in later versions.
I did not even think about checking the Options/Messages dialog.

P.S.: Thanks for the strikethough.
© mIRC Discussion Forums