mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2011
Posts: 448
K
KindOne Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 448
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

...

Joined: Dec 2002
Posts: 5,411
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,411
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.

Joined: Feb 2011
Posts: 448
K
KindOne Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 448
I did not even think about checking the Options/Messages dialog.

P.S.: Thanks for the strikethough.


Link Copied to Clipboard