mIRC Homepage
Posted By: Go1den Stripping color - 23/06/12 02:53 AM
Quick question again:

Is there a simple script that would remove color from a specific user from any chat room except a certain one?

i.e. If the user was "Joe" and he was in any room other than "#main", I want to strip all color code from his incoming message.

Thanks!
Posted By: argv0 Re: Stripping color - 23/06/12 04:35 AM
Code:
alias shouldstrip { if ($nick == Joe && $chan != #main) return $true }
on ^:TEXT:*:#:if ($shouldstrip) { echo -mbflirt # #+(<,$nick(#,$nick).pnick,>) $strip($1-) | haltdef }
on ^:ACTION:*:#:if ($shouldstrip) { echo $color(action) -mbflirt # * $nick(#,$nick).pnick $strip($1-) | haltdef }


Note that if you have theming scripts you have to make sure the above will echo in the same format as your theme
Posted By: trodas Re: Stripping color - 24/11/13 11:25 PM
Speaking about stripping the colors and text effects... is possible to modify the script that way, so it strip all the bold, italic, colorfull and other text effects in mIRC?

I very much need that, because it is essential to quickly copy and paste the texts from the room(s) w/o having to clear these colors.

Anyone can help me with it, together with the how-to-install it into my old mIRC?

Thank you very much!
Posted By: Deega Re: Stripping color - 25/11/13 12:41 AM
If you select text in mIRC windows without pressing the Ctrl key, the colours and codes are already stripped and the text is copied to the clipboard.
Posted By: trodas Re: Stripping color - 25/11/13 01:46 PM
Not true, not all of them... mostly they are not, sadly frown

At least not in mIRC 5.91 smirk I was using some script, that completely changed how the mIRC look, but not sure what was the name and where to got it. And more cleaner look (just text, no BS) will be beneficial, too.
Posted By: Loki12583 Re: Stripping color - 25/11/13 03:10 PM
mIRC 5.91 is over 12 years old and contains known exploits which could be used to take over your system.
Posted By: trodas Re: Stripping color - 25/11/13 05:15 PM
I'm not worried smile I have Windows 2000 SP4, seriously moded and HW firewall. Almost all exploits require NetFramework and higher Windows, so I'm probably more safe that your are. Disabled Ident and DCC transfers as well, so...

But hey, I just wanted clean the text of the rooms. Completely. That it is. Don't just push me to a new software or version of it, that sure is bigger and probably not even work on Win2k wink

Why not stick to the original question?
Posted By: TRT Re: Stripping color - 25/11/13 06:49 PM
He's running an OS that hasn't received security updates in over 3 years.
An outdated mIRC is the least of his problems. laugh
Posted By: trodas Re: Stripping color - 30/11/13 11:38 AM
Oh, did I mention that I never ever use any updates to the SP4? And still never having single trouble?

IMHO the brain is the best antivir, but aside of that, is there are something that could be done to battle the colors and stuff?

Preferably without updating mIRC (or at least not much smile ) ... What is the latest mIRC version that run on Win2k anyway?
Posted By: Deega Re: Stripping color - 02/12/13 08:03 PM
Originally Posted By: trodas
Not true, not all of them... mostly they are not, sadly frown
At least not in mIRC 5.91 smirk
Indeed they are. wink

Originally Posted By: trodas
I was using some script, that completely changed how the mIRC look, but not sure what was the name and where to got it. And more cleaner look (just text, no BS) will be beneficial, too.
You can set mIRC to strip all colours and other codes in Options \ IRC \ Messages

Originally Posted By: trodas
What is the latest mIRC version that run on Win2k anyway?
Look at the downloads page, the link is at the top of this page.
Posted By: landonsandor Re: Stripping color - 03/12/13 08:39 PM
actually, win2k isnt listed there. Direct copy/paste:

The latest version of mIRC is mIRC v7.32 for Windows XP/Vista/7/8 and can be downloaded through this page.

If you are using Windows 95/98/ME/NT, you can download an older version of mIRC from here. Please note that this older version is no longer being updated.


So, what's the official answer?
Posted By: Deega Re: Stripping color - 04/12/13 02:48 PM
Windows 2000 is also known as "Windows NT 5.0". It was the last version of Windows to be branded as "Windows NT"
Posted By: landonsandor Re: Stripping color - 04/12/13 08:23 PM
ah, I havent used 2k in ages so didn't remember that, thanks
© mIRC Discussion Forums