mIRC Homepage
Posted By: Lippy Help Ignore with address - 16/07/23 09:11 AM
Hi, I was wondering if there was the possibility of not being written in private by blocking messages using portions of the address.

For example, let's take a random address: 5S1PwHRLH@Example-ins6tn.post.cust.swisscom.ch

Would it be possible to create a script that blocks a portion of this address at will, such as "post.cust", or even "PwHRL", "swisscom" and so on, preventing any nick that has these same words blocked in the address, from writing to us privately...?
Posted By: Epic Re: Help Ignore with address - 20/07/23 05:20 PM
Most likely, there is no need to create a script for this. Try using the built-in mIRC command "/ignore" to set ignore private messages from users based on part of their address.

For example:
Quote
/ignore -p *@*post.cust*
/ignore -p *PwHRL*@*
/ignore -p *@*swisscom*

/ignore -l

Can read more details here: https://en.wikichip.org/wiki/mirc/commands/ignore
Posted By: Lippy Re: Help Ignore with address - 21/07/23 08:30 AM
Ok, so if I understand correctly I would just do this:

/ignore -p *@*.ch*

So that you don't get messages from all the people with a Swiss address. And so on as in your examples
Posted By: Epic Re: Help Ignore with address - 23/07/23 01:45 PM
Quite right. Thus, you will ignore private messages from any users who have this domain zone "ch" in their host address.
Or, for example, if you want to ignore messages from all US users, use this address mask: /ignore -p *@*.us

The "-p" switch next to the command tells mIRC to only ignore private messages, but you will still receive other types of messages, so if that's not enough, a few other switches can be added.

Note: You should understand that by using such a wide range of ignoring addresses, you run the risk of not receiving an important message from your friends or new acquaintances who have the same domain zone in the host. In this case, you can add some addresses to the exclusion list using the "-x" switch.
Posted By: Lippy Re: Help Ignore with address - 23/07/23 06:14 PM
Okay, now I've got it all figured out. Thank you very much for the explanations and your help, Epic πŸΊπŸ™‚
© mIRC Discussion Forums