mIRC Homepage
Posted By: soirunner How can I get rid of the popup ads!! - 06/09/05 12:48 PM
Is there a way to block the ads that keep poping on when logged in.
The ads are mostly sex oriented but ave been coming much more frequent.
Thanks
Posted By: Riamus2 Re: How can I get rid of the popup ads!! - 06/09/05 01:01 PM
You can avoid channels that have those, for one (this includes most illegal download channels as well as certain other types of channels). You can still get that stuff by avoiding those channels, but it's much less likely.

If you don't want to avoid going to locations that send you that stuff, you can use /ignore nick to ignore the person sending it.

If too many nicks are sending you the ads, you can put in code like this:

Code:
on *:text:*:?: {
  if ($istok($1-,sex,32) || $istok($1-,porn,32) || $istok($1-,sexy,32)) {
    .ignore $nick
    window -c $nick
  }
}


That assumes your ads are displayed through a private message (query) window. All you do is replace the words in the IF line with ones that you see in the ads you are getting. Just add on to that if you need to add more words. If you're getting all ads that use the same word, you can just use one of those things. Remember that these are for words; not phrases. Use words that legitimate users aren't likely to use in conversation with you.

Another option is that if you're getting these ads from users on the channel(s) you're visiting, and you don't want to talk to anyone on those channels, is to do this:

Code:
on *:text:*:?: {
  if ($nick ison #chan || $nick ison #chan2) {
    .ignore $nick
    window -c $nick
  }
}


Replace #chan and #chan2 with your channel(s) ... continue adding more if needed, or remove the second channel if you don't need 2 channels. This will block and ignore all users from the channels you put into there who try to private message you with anything at all.
Posted By: CtrlAltDel Re: How can I get rid of the popup ads!! - 06/09/05 02:29 PM
If they're true "popup" ads, and not mIRC query windows, try this little utility to disable windows messaging.
Posted By: DimWatt Re: How can I get rid of the popup ads!! - 06/09/05 02:48 PM
If these are bots you could end up with thousands on ignore maybe replace

.ignore $nick

with

.ignore -p $nick 2

This will ignore the IP addy in pvt only so if some one you know has the same IP you can still see them in the main.
I came up with 12 common IP's which would have been thousands of nicks.
Posted By: kubiak Re: How can I get rid of the popup ads!! - 06/09/05 03:37 PM
What i have chosen to do is:

--------------------------------------------------
#DenyPrivateMessages on

on ^*:OPEN:?:*: {
if ( $notify($nick) == $null) {
ignore -u7200 $nick 2
splay -w sounds\Ignoreuser.wav
/msg $nick AUTO RESPONSE: I am sorry, i do not accept private messages. You have been added to my ignore list.
halt
}
}

#DenyPrivateMessages end
--------------------------------------------------

Notice that i will deny all incoming private messages and no message window will open unless the user is in my notify list.
I'll ignore the ip address for 2 hours (7.200") and not permanently.

I will notify the user that he/she has been added to my ignore list.

Finally if i want to accept prv messages for some reason i have set F12 to temporarily (using a timer) disable the section mentioned above (this is why i have chosen to use a section.
Posted By: Riamus2 Re: How can I get rid of the popup ads!! - 06/09/05 04:10 PM
Quote:
If they're true "popup" ads, and not mIRC query windows, try this little utility to disable windows messaging.


Messenger is very easy to disable in XP without any utility by just going to Run, type services.msc and hit enter/ok. Go down to where Messenger is and double click it. Choose Stop and Disable. All done. Not sure how easy it is to disable in other Windows versions, or even which ones have this annoying thing.

I just thought I'd offer this method as some people prefer not to download utilities that do things without them knowing what is really being done. smile
Posted By: CtrlAltDel Re: How can I get rid of the popup ads!! - 06/09/05 08:31 PM
Quote:
just thought I'd offer this method as some people prefer not to download utilities that do things without them knowing what is really being done.


and others baffle people with their ability to even turn the computer on grin
© mIRC Discussion Forums