mIRC Home    About    Download    Register    News    Help

Print Thread
surpressing whois display but still process #267211 22/04/20 11:41 PM
Joined: Dec 2019
Posts: 13
S
Stephen Offline OP
Pikka bird
OP Offline
Pikka bird
S
Joined: Dec 2019
Posts: 13
I have a script that checks whois for porn channels on both join and runs the current nick list every 30 minutes. is there a way to hide the actual whois from showing in the status window but still be processed by the script?

I am missing error messages and other things on the status screen because of the scroll effect of the whois running.

Re: surpressing whois display but still process [Re: Stephen] #267212 23/04/20 12:39 AM
Joined: Jan 2004
Posts: 1,300
maroon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 1,300
There is no single whois reply, there's a variety of different numeric events which can change depending on which info is seen in response to a /whois command. Some numerics are visible only to OPER's, some only to self, etc. You'd need to build a list of numeric which get returned by WHOIS so you can mute them.

raw *:*:{ echo -s debug raw $numeric $1- | haltdef }

Once you know what this line is, you can mute the specific numeric, and there will be quite a few of these needing to be muted like:

raw 311:*:{ haltdef }

Numeric 319 is the line of whois that shows the channels that someone's in, and won't show +s or +p channels unless your a network admin.