Top

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 
  Bookmark and Share

Introduction

* * Simple Commandline Kickban * *

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!!!!!

Grab the Code

Comments

  (3)  RSS
sladekraven
Comments: 14
 
mIRC Snippet:  Simple Commandline Kickban
Posted on Mar 2, 2006 12:22 pm
What about:

kickban { ban -k $chan $nick 3 $2- }
sladekraven
Comments: 14
 
mIRC Snippet:  Simple Commandline Kickban
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.
SpaceCat
Comments: 5
 
mIRC Snippet:  Simple Commandline Kickban
Posted on Mar 2, 2006 5:36 pm
haha ok the addon has been tested and it works that's the main idea :)

Please Register or Login to start posting comments.
Bottom