mIRC Home    About    Download    Register    News    Help

Print Thread
messages? #92023 28/07/04 09:47 PM
Joined: May 2004
Posts: 10
F
farcus Offline OP
Pikka bird
OP Offline
Pikka bird
F
Joined: May 2004
Posts: 10
i'm using 6.16, how do you stop getting messages from other people? i'm getting alot of stupid offers, messages from people that i want stopped. thanks.

Re: messages? #92024 28/07/04 10:10 PM
Joined: Jun 2003
Posts: 5,024
M
Mentality Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
You can ignore all private messages with /ignore -p *. This will block ALL private messages though.

You could use a script to block private messages that contain certain words too, for example:

on *:text:*:?:{
if (*http://* iswm $1- || *www.* iswm $1- || *whatever* iswm $1-) {
.msg $nick Spam detected, closing query.
.ignore -pu30 $nick 3
close -m $nick
}
}


This would go in Remotes, ALT+R. Also see /help on text.

Some networks have a +R/+r usermode which blocks messages from non-registered users. Check in your network's #Help channel if such a mode exists.

Regards,


Mentality/Chris
Re: messages? #92025 29/07/04 12:28 AM
Joined: May 2004
Posts: 10
F
farcus Offline OP
Pikka bird
OP Offline
Pikka bird
F
Joined: May 2004
Posts: 10
thanks

Re: messages? #92026 29/07/04 10:00 AM
Joined: May 2004
Posts: 10
F
farcus Offline OP
Pikka bird
OP Offline
Pikka bird
F
Joined: May 2004
Posts: 10
what if i wanted to ban the word "hot", what would the script look like?

Re: messages? #92027 29/07/04 10:27 AM
Joined: Mar 2004
Posts: 359
L
LostServ Offline
Fjord artisan
Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 359

on *:text:*hot*:?: { halt | .msg $nick Your not hot, ignored. | ignore -pu300 $nick 3 }


This would block any PM containing the word hot, message them the sentence "Your not hot, ignored." and ignore them for 5minutes.

Re: messages? #92028 29/07/04 11:49 AM
Joined: Dec 2002
Posts: 191
N
Nobodi Offline
Vogon poet
Offline
Vogon poet
N
Joined: Dec 2002
Posts: 191
Quote:

on *:text:*hot*:?: { halt | .msg $nick Your not hot, ignored. | ignore -pu300 $nick 3 }


This would block any PM containing the word hot, message them the sentence "Your not hot, ignored." and ignore them for 5minutes.

I don't think it would as with the halt commad being first the script would stop before it does anything.

Re: messages? #92029 29/07/04 11:57 AM
Joined: Mar 2004
Posts: 359
L
LostServ Offline
Fjord artisan
Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 359
Code:
on *:text:*hot*:?: { .msg $nick Your not hot, ignored. | ignore -pu300 $nick 3 | close -m $nick }


There, it would work now smile