Query Blocker

By [85] on Sep 05, 2010

Screenshots

https://ircdnevnik.wordpress.com /server -m irc.dbase.in.rs:6667 -j #IRC

http://DBase.in.rs

================================================================
all in one re-write by blackvenomm666
================================================================

menu @private-blocker {

  &Clear:clear $active
  &Close:close -@ $active
  .-
  Ignore:/ignore $$?="Ignore nickname or hostname *!*@"
  Query:/q $$?="Enter nickname?" 
  -
  Uwho:/uwho $$?="Enter nickname?" 
  Whois:/w $$?="Enter nickname?" 
  NickServ info:/nickserv info $$?="Enter nickname?" ALL 
}

on ^*:open:?:*: {
  window -emg[1]k[0] @private-blocker 
  echo -a  $asctime( 0[HH:nn'tt] ) 4[11Private request4]11 nickname7:11 $nick 11server7:11 $server 4(11nick is temp14-11ignored 5min4)
  aline -p @private-blocker $asctime( 0[HH:nn'tt] ) 0You have new private message9...0Accept private request type9:10 9/7q $nick
  aline -p @private-blocker $asctime( 0[HH:nn'tt] ) 0Nickname9:0 $nick 
  aline -p @private-blocker $asctime( 0[HH:nn'tt] ) 0Address9:0 $address
  aline -p @private-blocker $asctime( 0[HH:nn'tt] ) 0Server9:0 $server
  aline -p @private-blocker $asctime( 0[HH:nn'tt] ) 0Message9:0 $1-
  aline -p @private-blocker $asctime( 0[HH:nn'tt] ) 0Date9:0 $date
  aline -p @private-blocker $asctime( 0[HH:nn'tt] ) 15------------------------------------------------------------------------------------------
  .notice $nick 11,1â¢4» 7Your message has been successfully relayed11.9.10.
.ignore -pnu300 $nick
  .close -m $nick
  haltdef
}

Comments

Sign in to comment.
[85]   -  Dec 10, 2010

kk

 Respond  
blackvenomm666   -  Dec 10, 2010

what i was originally saying is you could add more to it and have it also block notices. not just p2p's but meh

 Respond  
[85]   -  Dec 10, 2010

ahaaa now i see what u want me to tell... :D

code working only if u save in separate files snipets...that is why am called 1st part and 2cnd...btw... tnx a lot for the all in one code! :)

 Respond  
[85]   -  Dec 10, 2010

hmmm am gonna check it right now... my code... brb

 Respond  
blackvenomm666   -  Dec 10, 2010

2cnd PART

on ^:open:?:: {
.ignore -pnu300 $nick
.close -m $nick
}
does not stop notices

 Respond  
blackvenomm666   -  Dec 10, 2010

cant finish this script in one code coz am not expert

here it is all in one

menu @private-blocker {

  &Clear:clear $active
  &Close:close -@ $active
  .-
  Ignore:/ignore $$?="Ignore nickname or hostname *!*@"
  Query:/q $$?="Enter nickname?" 
  -
  Uwho:/uwho $$?="Enter nickname?" 
  Whois:/w $$?="Enter nickname?" 
  NickServ info:/nickserv info $$?="Enter nickname?" ALL 
}

on ^*:open:?:*: {
  window -emg[1]k[0] @private-blocker | /splay $mircdirsounds\pvt.wav
  echo -a  $asctime( 0[HH:nn'tt] ) 4[11Private request4]11 nickname7:11 $nick 11server7:11 $server 4(11nick is temp14-11ignored 5min4)
  aline -p @private-blocker $asctime( 0[HH:nn'tt] ) 0You have new private message9...0Accept private request type9:10 9/7q $nick
  aline -p @private-blocker $asctime( 0[HH:nn'tt] ) 0Nickname9:0 $nick 
  aline -p @private-blocker $asctime( 0[HH:nn'tt] ) 0Address9:0 $address
  aline -p @private-blocker $asctime( 0[HH:nn'tt] ) 0Server9:0 $server
  aline -p @private-blocker $asctime( 0[HH:nn'tt] ) 0Message9:0 $1-
  aline -p @private-blocker $asctime( 0[HH:nn'tt] ) 0Date9:0 $date
  aline -p @private-blocker $asctime( 0[HH:nn'tt] ) 15------------------------------------------------------------------------------------------
  .notice $nick 11,1•4» 7Your message has been successfully relayed11.9.10.
.ignore -pnu300 $nick
  .close -m $nick
  haltdef
}
 Respond  
[85]   -  Dec 10, 2010

i fully agree...

2cnd PART

on ^:open:?:: {
.ignore -pnu300 $nick
.close -m $nick
}

 Respond  
blackvenomm666   -  Dec 10, 2010

well if you don't want to get private messages. stands to reason maybe ya wouldnt wanna get notices eitherO_O just a thought

 Respond  
[85]   -  Dec 10, 2010

why?

 Respond  
blackvenomm666   -  Dec 10, 2010

if your gonna do a query blocker why not add a notice blocker to it?

 Respond  
[85]   -  Dec 10, 2010

its true... so u can delete this part: | /splay $mircdirsounds\pvt.wav
Or you can put ur own sound... :)

 Respond  
biase   -  Nov 29, 2010

/splay $mircdirsounds\pvt.wav
pvt.wav not included?

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.