Top

Auto Ban on Join


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  1.0
Scores Submitted  2
Date Added  Oct 17, 2007
Last Updated  Oct 17, 2007
Tags  auto  ban  kb  kick 
  Bookmark and Share

Introduction

Well this is as basic as it gets. I have a small channel with only 4 users, Though i have the channel set to secret, occassionally people who shouldn't be in my channel would join.

So I wrote this up quickly.

It allows you to enter your channel's users nicks, and it will allow them to join. If a nick that is not on your list joins, well, they will be automatically kicked and ban.

!!!This is only usefull if your channels users maintain their nicks, and if there are only a few users!!!!


other than that enjoy

REPLACE:

#*YOURCHAN* : #YOUR.CHANNEL'S.NAME
*NICK* : WITH YOUR CHANNEL USER'S NICK (ALLOWED TO ENTER CHANNEL)
*NICK1* : WITH ANOTHER CHANNEL USER'S NICK (ALLOWED TO ENTER CHANNEL)
*NICK2* : WITH YOUR CHANNEL USER'S NICK (ALLOWED TO ENTER CHANNEL)
*NICK3* : WITH YOUR CHANNEL USER'S NICK (ALLOWED TO ENTER CHANNEL)
*NICK4* : WITH YOUR CHANNEL USER'S NICK (ALLOWED TO ENTER CHANNEL)
*KICK.MESSAGE.HERE* : MESSAGE YOU WANT THE PEOPLE YOU K+B TO SEE WHEN YOU K+B THEM.

(* * ARENT NEEDED IN THE SCRIPT JUST FILL IN THE NEEDED INFO WITHOUT THEM)




Grab the Code

Comments

  (2)  RSS
mountaindew
Comments: 1,548
 
mIRC Snippet:  Auto Ban on Join
Posted on Oct 17, 2007 2:03 pm
Code:
on @*:join:#yourchan:{
  if (!$istok(nick1 nick2 nick3 nick4,32)) {
    ban -k $address($nick,2) *Kick msg here*
  }
}
mountaindew
Comments: 1,548
 
mIRC Snippet:  Auto Ban on Join
Posted on Oct 17, 2007 2:03 pm
*ban -k $chan $address($nick,2) Kick msg Here

Please Register or Login to start posting comments.
Bottom