Simple Commandline Kickban
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 2.0 |
| Scores Submitted | 1 |
| Date Added | Mar 02, 2006 |
| Last Updated | Mar 02, 2006 |
| Tags | ban help kick kickban mirc script |
|
|
Introduction
Hello this is my first snippet on hawkee and well even though its pretty simple it's useful to quickly kickban someone. The ban type used on this snippet is a type 3 you can modify it.
You can include this snippet in your script but I want some credits for it Please don't remove the commented lines :) Is the least you can do :) Thanks!
# IMPORTANT #
PASTE THIS IN THE ALIASES SECTION. NOT REMOTES!!!!!
mIRC Snippet:
Simple Commandline Kickban
Posted on Mar 2, 2006 12:22 pm
Posted on Mar 2, 2006 12:22 pm
What about:
kickban { ban -k $chan $nick 3 $2- }
kickban { ban -k $chan $nick 3 $2- }
mIRC Snippet:
Simple Commandline Kickban
Posted on Mar 2, 2006 12:25 pm
Posted on Mar 2, 2006 12:25 pm
That $nick should be $$1. $chan can be # for short.
It's kinda late.
Yours would be nice if their versions didn't support the "-k" switch I'd also suggest using:
kickban {
var %kbnick = $$1, %kbreason = $2-
ban %kbnick 3 | kick # %kbnick %kbreason
}
That way you don't need to unset the vars.
It's kinda late.
Yours would be nice if their versions didn't support the "-k" switch I'd also suggest using:
kickban {
var %kbnick = $$1, %kbreason = $2-
ban %kbnick 3 | kick # %kbnick %kbreason
}
That way you don't need to unset the vars.
mIRC Snippet:
Simple Commandline Kickban
Posted on Mar 2, 2006 5:36 pm
Posted on Mar 2, 2006 5:36 pm
haha ok the addon has been tested and it works that's the main idea :)




