mIRC Homepage
Posted By: a65k Private Blocking - 12/04/05 06:01 PM
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?
Posted By: tidy_trax Re: Private Blocking - 12/04/05 06:13 PM
Code:
on ^*:open:?:{
  if (!$window(@query)) { window @query }
  echo $colour(norm) -bfilmrt @query $+(<,$nick,>) $1-
  halt 
}
Posted By: aDevil Re: Private Blocking - 12/04/05 06:26 PM
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?
Posted By: tidy_trax Re: Private Blocking - 12/04/05 06:45 PM
Add this as well:

Code:
on ^*:text:*:?:{
  if ($query($nick)) { 
    if (!$window(@query)) { window @query }
    echo $colour(norm) -bfilmrt @query $+(<,$nick,>) $1-
    haltdef
  }
}
Posted By: DaveC Re: Private Blocking - 12/04/05 10:07 PM
Seems a bit dodgy that one would want to block replies from a query one has opened themselfs!
© mIRC Discussion Forums