@ a careful warchild: Unfortunately it's not my responsibility to make up scripts to fit in with other scripts. I can make it to use to my own advantage, which in fact, is /black for me.
@ Bullet_Dodger: With the coding available above, any user with the general knowledge of mIRC scripting should be able to piece together an alias for it; good luck.
@ Stapler: I'm not quite sure what the problem is there for you. I've tested it thoroughly and have not had any problems. I believe some of the other users have not had m/any problems with it. Be sure you pasted it in an empty mIRC file. If the problem persists, oh well, I guess you're out of luck.
I will not be updating this script any further. Any updates made will be mandatory updates that I find actually improve the usage of the script, and is not just another feature to get in the way.
I'm sorry if I seem a little blunt with my answers, but I've pretty much stopped mIRC scripting. I will make for-fun scripts every once-in-awhile or other "useful" scripts if I find something that I haven't already coded. I've covered just about all there is to make that can still be considered "useful."
Anyways, good luck with your personal updates to the code, and have fun!
I've noticed a few problems upon using a few of the new features. I'm in class right now trying to fix it, and I'll work on it when I get home, so I should have an updated, better working version later this evening.
Here's a couple of problems I found:
Double logging of kicks when having "Kick From All Common Channels" enabled
No logs recorded when adding a blacklist entry via the dialog
No... The very first line of the actual coding. You're missing the on EVENT part...
if ($1- == !lockdown) {
set %e 1
:fred
set %chan $nick(#,%e,reg)
if (%chan == $null) {
halt
}
elseif (%chan ison #) && (%chan == $me) {
inc %e
goto fred
}
elseif (%chan isreg #) || (%chan isvoice #) || (%chan isop #) {
kick # %chan
mode # +i
mode # +s
mode # +m
inc %e
goto fred
}
}
if ($1- == !lockdown off) {
/mode # -i
/mode # -s
/mode # -m
}