Top

Blacklist (With Manager)


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  5.2
Scores Submitted  6
Date Added  Sep 07, 2007
Last Updated  Nov 02, 2007
Tags  blacklist  manager 
  Bookmark and Share

Introduction

This script is the first time I used dialogs in a script. It checks when users join and when they change nicks, using ONLY the userlevels list, to make it faster.

I initially had just an 'add' dialog for simplicity, but then I decided to expand it into a blacklist manager where you can click on a blacklist in the left panel and edit it instantly in the right panel, with multiple delete functions and the ability to choose whether or not to search all rooms for matches upon closing.

The intention of this script was to create a blacklist script unlike others (I haven't seen them all, so I can't say it has never been done like this before). I was not inclined to post this one, but I decided to put it up for you all anyway. :)

Also, the save button won't appear unless both boxes are filled and the banmask matches *!*@* but doesn't equal it.

You can use /blist or the right-click menu to open the dialog.


Put this in your remotes (alt+r) in a new file (File->New).


I personally like this blacklist, and hope you do too. :)

--- All credit goes to Gummo ---

UPDATES!
16/10/07: - Added option to auto-unban after 12 hours.
- Fixed bug where script would accept !@ as a mask, as it matches *!*@*.
- Fixed bug which allowed you to make the blacklist reason a bunch of spaces (Needs one non-space character).
- Fixed bug which prevented deletion of a blacklist entry if the mask had been modified.
2/11/07: - Changed function keys to just a right-click menu on request.

Grab the Code

Comments

  (33)  RSS
Gummo
Comments: 137
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Sep 7, 2007 7:57 pm
Any opinions would be greatly appreciated....
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Sep 7, 2007 8:05 pm
Nice job! Dialogs are perfect, and the events are working fine. Great job. 8/10
Gummo
Comments: 137
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Sep 7, 2007 8:06 pm
Thanks. :)
Hennyville
Comments: 3
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Sep 7, 2007 10:06 pm
Good Formatting & good job on the script :)
lexie
Comments: 9
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Sep 12, 2007 10:46 am
very nice gummo. x
Gummo
Comments: 137
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Sep 14, 2007 6:53 am
Again, thanks. :)
ZiX
Comments: 52
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Sep 17, 2007 12:27 am
Nice :D
it works great ..
Joshuaxiong1
Comments: 90
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Oct 8, 2007 2:15 am
This is the best blacklist I have found. Great!
Anti
Comments: 305
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Oct 16, 2007 3:48 pm
haha sweet never used dialogs in a long time great job!~
Gummo
Comments: 137
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Oct 17, 2007 8:43 pm
I would really like to know what would make this better.. Customisable auto-unban times? Include/exclude channels for all blacklists? Include/exclude channels for individual blacklists instead? Wildcards protected from the blacklist?
Scakk
Comments: 237
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Oct 17, 2007 8:59 pm
Perhaps have it where if the person is on the access list it will remove them when it kick/bans them.
Gummo
Comments: 137
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Oct 17, 2007 9:25 pm
I'm not sure people would appreciate that.. Your access would probably be removed and theirs replaced.
Scakk
Comments: 237
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Oct 17, 2007 9:45 pm
I suggested that because a person who has Ops in the channel can decide to be a real pain and will not listen to others when asked and or told to stop. If he has access to the channel then the kick/ban is worthless as he could just come back in.
Gummo
Comments: 137
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Oct 17, 2007 10:00 pm
While that's true, the owner of the room may actually want that person to stay, removing your access because the blacklist kicks them and then replacing theirs.

That would be where the exlusion of rooms would be handy for individual bans. ;)

Also, if they're being a pain your could remove their access manually. Many servers don't have chanserv.
Scakk
Comments: 237
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Oct 17, 2007 10:08 pm
Very true. I will await the ban per channel version :)
Gummo
Comments: 137
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Oct 17, 2007 10:13 pm
Ok. I'll wait for input on the other ideas first, then I'll have to redo the whole script. :P
Akishoot
Comments: 159
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Oct 17, 2007 11:59 pm
As I suggested in the PM, the customizable auto-unban times would be neat. I'm just posting this on here because I have nothing else to do. =)

-Akishoot
Gummo
Comments: 137
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Oct 18, 2007 12:09 am
There is one other option I could think of, if you people whink it's a good idea to be able to use wildcard searches in each editbox to filter blacklists so that you can modify them more easily..
Akishoot
Comments: 159
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Oct 18, 2007 1:53 am
Sounds good. :) I don't have any other suggestions quite yet, seeing as it's about 3:00 a.m. and I'm falling asleep on my keyboard... I'll try again tomorrow. =)

-Akishoot
Scakk
Comments: 237
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Oct 18, 2007 2:06 am
The only asthetic thing I cna thin of is it is a little wide. Perhaps have buttons that make it change shape when you choose to view the black list. Ex: Click button " View List " and the dialog changes shape to show the list. Then click a button " Close List " and the dialog goes back to the original shape.
Gummo
Comments: 137
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Oct 18, 2007 2:42 am
While hiding the list would temporarily make the dialog more aesthetically pleasing, it would make it less practical, as you'd have to enable the list to see the entries.
Scakk
Comments: 237
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Oct 18, 2007 3:12 am
Perhaps have it have a Menu option to open it as oppossed to the f7 key. Also have a button or somthing in th dialog itself to turn it on and off instead of using cf7. I have to disable what I have there now in order to use this.

Just an option I thought about at 4 am ^_^
Gummo
Comments: 137
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Oct 18, 2007 4:49 am
Alright, when I update this I'll include a menu. I found it easier to use f7 as I decide what buttons are for what, but I'll change that so you can choose whether or not to enable them. Also, there already is a checkbox in the dialog for turning it on/off.

On a side note, this site doesn't seem to appreciate the backslashes used in my regex.. It only works with them some of the time.
Joshuaxiong1
Comments: 90
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Nov 25, 2007 10:30 pm
Did you update it?
Flexi
Comments: 4
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Dec 11, 2007 1:12 am
IF check enabled when closed there would be spam.
Gummo
Comments: 137
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Dec 23, 2007 8:54 pm
..What?
Manit
Comments: 4
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Feb 26, 2008 1:36 am
Some thing wrong with this blacklist code i cant save the host in it
Gummo
Comments: 137
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Feb 27, 2008 12:32 am
Are you sure? It must match *!*@* and have a reason to save.
Eugenio
Comments: 1,082
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Mar 3, 2008 5:16 pm
isnt there a way to just ban the nick ?!? i cant stand having to look at /whois to find the banmask ?!? and also why cant i click on a user in the nick list and add them to the list that way ?!? 4/10
Eugenio
Comments: 1,082
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Mar 3, 2008 5:20 pm
and actually i cant even get the banmask from /whois ! this is making me angry now. 2/10
Gummo
Comments: 137
 
mIRC Snippet:  Blacklist (With Manager)
Posted on Mar 18, 2008 6:48 am
I didn't believe it was such a crucial factor.. Why are you blacklisting so often that it annoys you that you must use a /whois, anyway?
xFireWallx
Comments: 6
 
mIRC Snippet:  Blacklist (With Manager)
Posted on May 10, 2008 12:20 am
Well done Gummo, I use your shoot ;)
xFireWallx
Comments: 6
 
mIRC Snippet:  Blacklist (With Manager)
Posted on May 10, 2008 12:22 am
ohhh .. mistake ... *I use Gummo`s shoot* ;)

Please Register or Login to start posting comments.
Bottom