mIRC Home    About    Download    Register    News    Help

Print Thread
Private Blocking #117089 12/04/05 06:01 PM
Joined: Apr 2005
Posts: 2
A
a65k Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
A
Joined: Apr 2005
Posts: 2
Hello!!!

How I can block private messages without ignoring them. And after blocking I wanna write all messages to a custom window. How I can do this? And I can block ctcps and notices too?

Re: Private Blocking #117090 12/04/05 06:13 PM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Code:
on ^*:open:?:{
  if (!$window(@query)) { window @query }
  echo $colour(norm) -bfilmrt @query $+(<,$nick,>) $1-
  halt 
}


New username: hixxy
Re: Private Blocking #117091 12/04/05 06:26 PM
Joined: Apr 2005
Posts: 53
A
aDevil Offline
Babel fish
Offline
Babel fish
A
Joined: Apr 2005
Posts: 53
This is working, thanks a lot. But if the private is opened with the guy the message is displayed in his query window, how I can do to don't display the text when private blocking is enabled?

Re: Private Blocking #117092 12/04/05 06:45 PM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Add this as well:

Code:
on ^*:text:*:?:{
  if ($query($nick)) { 
    if (!$window(@query)) { window @query }
    echo $colour(norm) -bfilmrt @query $+(<,$nick,>) $1-
    haltdef
  }
}


New username: hixxy
Re: Private Blocking #117093 12/04/05 10:07 PM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Seems a bit dodgy that one would want to block replies from a query one has opened themselfs!