mIRC Home    About    Download    Register    News    Help

Print Thread
#238016 23/06/12 02:53 AM
Joined: Jun 2012
Posts: 7
G
Go1den Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
G
Joined: Jun 2012
Posts: 7
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!

Go1den #238017 23/06/12 04:35 AM
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
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


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
argv0 #243518 24/11/13 11:25 PM
Joined: Nov 2013
Posts: 4
Self-satisified door
Offline
Self-satisified door
Joined: Nov 2013
Posts: 4
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!


"It is dangerous to be right in matters on which the established authorities are wrong." - Voltaire
trodas #243521 25/11/13 12:41 AM
Joined: Oct 2012
Posts: 164
D
Vogon poet
Offline
Vogon poet
D
Joined: Oct 2012
Posts: 164
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.

Deega #243531 25/11/13 01:46 PM
Joined: Nov 2013
Posts: 4
Self-satisified door
Offline
Self-satisified door
Joined: Nov 2013
Posts: 4
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.


"It is dangerous to be right in matters on which the established authorities are wrong." - Voltaire
trodas #243532 25/11/13 03:10 PM
Joined: Jan 2004
Posts: 1,358
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,358
mIRC 5.91 is over 12 years old and contains known exploits which could be used to take over your system.

Joined: Nov 2013
Posts: 4
Self-satisified door
Offline
Self-satisified door
Joined: Nov 2013
Posts: 4
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?


"It is dangerous to be right in matters on which the established authorities are wrong." - Voltaire
trodas #243537 25/11/13 06:49 PM
Joined: Jun 2003
Posts: 81
T
TRT Offline
Babel fish
Offline
Babel fish
T
Joined: Jun 2003
Posts: 81
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

TRT #243582 30/11/13 11:38 AM
Joined: Nov 2013
Posts: 4
Self-satisified door
Offline
Self-satisified door
Joined: Nov 2013
Posts: 4
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?


"It is dangerous to be right in matters on which the established authorities are wrong." - Voltaire
trodas #243600 02/12/13 08:03 PM
Joined: Oct 2012
Posts: 164
D
Vogon poet
Offline
Vogon poet
D
Joined: Oct 2012
Posts: 164
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.

Deega #243611 03/12/13 08:39 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
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?


Those who fail history are doomed to repeat it
Joined: Oct 2012
Posts: 164
D
Vogon poet
Offline
Vogon poet
D
Joined: Oct 2012
Posts: 164
Windows 2000 is also known as "Windows NT 5.0". It was the last version of Windows to be branded as "Windows NT"

Deega #243625 04/12/13 08:23 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
ah, I havent used 2k in ages so didn't remember that, thanks


Those who fail history are doomed to repeat it

Link Copied to Clipboard