Top

Black_List

+ 0 likes
Please Register to submit score.
Average Score  5.5
Scores Submitted  2
Date Added  May 04, 2007
Last Updated  May 04, 2007
Tags  blacklist  kick  xcept 

Introduction

Easy to use black list script.

Kicks and bans users when:
-You join a channel
-Anyone joins a channel
-Anyone changes nicknames

But only if they match someone on your list.

The only thing different about this than most, is that it runs just on an access level.

I rarely look at other black list scripts, so I wouldn't know.

Grab the Code

Comments

  (5)  RSS
Lindrian
Comments: 726
 
mIRC Snippet:  Black_List
Posted on May 4, 2007 7:12 pm
you already know u dont need /\'s. Secondly, why do you /mode $chan(%i) -Q? That realy aint needed. I dont think you should change channel modes like that. (Even those its needed to be able to kick the user(s)).
Secondly, use var %var = value, instead of set.

IM also sure you would be able to make the menu a little mroe fancy, by using $iif etc.

Havent tested it, but it looks ok.
Pass
Comments: 39
 
mIRC Snippet:  Black_List
Posted on May 4, 2007 7:27 pm
Lindrian, one reason for the \'mode -Q\' would be to prevent any errors and have the script complete what it started. Otherwise what use is a script if it won\'t even kick because of a single mode? Not to mention the mode can be set, as well as unset by Ops, so why not use it? Good code.
Pwntage`Ninja, something that might help you, the scripter, would be changing the *.add alias from asking the user for their input to requiring a 1st parameter [ie /black_list.add <user>].
However, use your own discretion, and good code
Pass
Comments: 39
 
mIRC Snippet:  Black_List
Posted on May 4, 2007 7:28 pm
er, minus the multiple good coding, as i added to that previous post during mid-thought. Also, if you were to change the black_list.add alias, don\'t forget to remove the local \"-l\" too.
Pwntage`Ninja
Comments: 25
 
mIRC Snippet:  Black_List
Posted on May 4, 2007 9:56 pm
Nono, it\'s just supposed to be access via the window and/or the nicklist.

I mean I added on a little F-Key for my own use, but a lot of people use F-Key commands, so I don\'t append it in the script.

The point how the add options are set up is to provide organization, if someone wants to change the alias so that they can just type it, they should be able to :S Else they can just stick with it how it is.

This is the F-Key I have, it\'s optional to add in to your own version of the script :S

Code:
alias F7 {
  set %y $snick($active,1)
  If ($ulist(%y,69,1)) { unset %y | halt }
  set %m $$?=\"Reason? Optional\"
  .auser 69 %y $iif(%m,%m)
  unset %y %m
  Black_List.Enforce
}
Joshuaxiong1
Comments: 84
 
mIRC Snippet:  Black_List
Posted on Oct 8, 2007 3:09 am
The list is not good and no reason can be added even thought in the box it say Reason:

Please Register or Login to start posting comments.
Bottom