Top

small msg prot/anti query spam


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  0.0
Scores Submitted  0
Date Added  Oct 12, 2007
Last Updated  Oct 12, 2007
Tags  filter  msg  protection  query  spam 
  Bookmark and Share

Introduction

a simple small bit of code that allows u to control who messages you and who doesnt,.with auto ignore, memorise nicks, and a restore to default option

Grab the Code

Comments

  (6)  RSS
Tippy
Comments: 28
 
mIRC Snippet:  small msg prot/anti query spam
Posted on Oct 14, 2007 7:02 am
Good job I like it maybe you should make a Ignore with it.I can also help you with coding if you want :) I am making a Bot right now so maybe you could help me sometime our maybe I can give you some stuff.
Anti
Comments: 305
 
mIRC Snippet:  small msg prot/anti query spam
Posted on Oct 16, 2007 3:54 pm
coding nice
mountaindew
Comments: 1,548
 
mIRC Snippet:  small msg prot/anti query spam
Posted on Oct 16, 2007 4:04 pm
maybe u can use an $iif for allow/disallow
Code:

.$iif($+(%msg.,$1),Allow,Disallow):{
  if ($+(%msg.,$1)) {
    set $+(%msg.,$1) on
    echo whatever
  }
  else unset $+(%msg.,$1)
}
Kyousoukyoku
Comments: 45
 
mIRC Snippet:  small msg prot/anti query spam
Posted on Oct 16, 2007 4:11 pm
Hmm, this isn\'t really a spam detector or anything, just a query blocker. If you meant to make it a query blocker, why not just decline all messages? You should also include the on *:open event. When first opening queries. Then you wouldn\'t have to use the on text event at all.

@ the code, you aren\'t unsetting variables, and why not store these nicks in an ini file or txt file and use $read/$readini to check? It\'d be pretty cool to include a dialog, but that isn\'t imperative. One last thing, you should use groups to disable/enable the snippet. ;)

mountaindew
Comments: 1,548
 
mIRC Snippet:  small msg prot/anti query spam
Posted on Oct 16, 2007 4:12 pm
yea i was thinkin the same thing, groups would be better than variables
ch0ob3r
Comments: 3
 
mIRC Snippet:  small msg prot/anti query spam
Posted on Oct 18, 2007 5:23 am
thx for the input guys..lol i realise its pretty basic i actually put it together for a mate and decided to chuck it on here in case he ever lost it =P

Please Register or Login to start posting comments.
Bottom