Top

Ban Pro


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  5.5
Scores Submitted  2
Date Added  Dec 13, 2007
Last Updated  Dec 13, 2007
Tags  and  awesome  ban  protection 
  Bookmark and Share

Introduction

My first ban protection I hope you enjoy!

Grab the Code

Comments

  (3)  RSS
mountaindew
Comments: 1,640
 
mIRC Snippet:  Ban Pro
Posted on Dec 14, 2007 2:01 pm
you definitely should use while loops
Code:

  if ($bnick == $me) goto unban
  else var %x = 1
  while $address($me,%x) {
    if ($banmask == $v1) goto unban
    else inc %x
  }
  :unban
  [unban stuff]
Pass
Comments: 45
 
mIRC Snippet:  Ban Pro
Posted on Dec 14, 2007 7:39 pm
Actually DarkDaemon could just use one $address
Code:
if ($banmask iswm $address($me,5)) { blah }

It's as easy as that.
mountaindew
Comments: 1,640
 
mIRC Snippet:  Ban Pro
Posted on Dec 17, 2007 3:41 pm
shouldnt it be
Code:
* $+ $banmask $+ * $address($me,5)) { blah }

:)

Please Register or Login to start posting comments.
Bottom