mIRC Home    About    Download    Register    News    Help

Print Thread
#153930 24/07/06 04:27 PM
Joined: Oct 2005
Posts: 54
B
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2005
Posts: 54
i was wondering how to do the folllowing:
when someone PM's you can either decline there PM or u can accept or u can put them on auto accept ive seen this done by a friend he just wont give me the coding and i dont mean a dcc chat i mean a regular PM

#153931 24/07/06 04:56 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
a VERY basic "message blocker" would be like this

Code:
on *:open:?:*:{
  if ($nick == YOURFRIENDSNICK) { query $nick Query Window Opened }
  else { 
    msg $nick msgs are blocked
    .ignore -pntidu180 $nick 
    close -m $nick
  }
}


#153932 24/07/06 04:58 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
There are multiple scripts for this purpose located at mircscripts.org and mirc.net. Look for those with "protection", "manager", or "notifier", or accept" in their title.


-KingTomato
#153933 24/07/06 05:06 PM
Joined: Apr 2004
Posts: 218
P
Fjord artisan
Offline
Fjord artisan
P
Joined: Apr 2004
Posts: 218
They utilize the "on OPEN" event. Which when a query window is open, this event is initiated.


Live to Dream & Dream for Life

Link Copied to Clipboard