Top

good !kb (kick ban)


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  0.0
Scores Submitted  0
Date Added  Aug 05, 2007
Last Updated  Sep 26, 2007
Tags  ban  kb  kick  kickban 
  Bookmark and Share

Introduction

I was searching for one of these and could find what i was looking for so made it myself =/.

To use just place this into your remotes section (alt+R)
__________________________________________________
What it does is you type !kb <name> <kick reason>
it will then kick that person and ban them :O
*But you only need to type part of their name
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
(it recognizes the name in any case its in now)

so if FrIsH is in the channel these will all kick ban him:
!kb FRI your kicked now kthnxbai
!kb fri your kicked now kthnxbai
!kb FrI your kicked now kthnxbai
!kb fRi your kicked now kthnxbai
etc.

obviously you have to be a higher rank than the person your kick banning (if you are lower rank but are % or higher it will ban them)

***Also note that if FRISH and ISANAME are both in a channel and you kick ban them doing:
!kb is cya ;p
then the person with "is" in their name nearest the bottom of the list will be kick banned

Updates:
*Case insensitive
*Now works for all names with [, ] and backslash in
Deleted a variable that wasnt needed
Made code work on colour codes]

note: that you have to combine on input codes, you cant have 2 "on *:INPUT:*:{" in the same script ;)

***If the ban doesnt work for all people you can remove the ";" from:
Code:
        ;mode # +bb $nick(#,%n) $address(%kbnix,3)


Grab the Code

Comments

  (8)  RSS
Zachery
Comments: 51
 
mIRC Snippet:  good !kb (kick ban)
Posted on Aug 5, 2007 4:38 pm
for the

kick # %kbnix $3-
mode # +b $address(%kbnix,3)

you could use: ban -k # %kbnix 3 $3-

:)
FRISH
Comments: 63
 
mIRC Snippet:  good !kb (kick ban)
Posted on Aug 5, 2007 4:53 pm
k thnx for the tip ;), i also changed the banaddress number to 2 since when i did 3 on someone it didnt work
Zachery
Comments: 51
 
mIRC Snippet:  good !kb (kick ban)
Posted on Aug 5, 2007 5:42 pm
np :)
mountaindew
Comments: 1,547
 
mIRC Snippet:  good !kb (kick ban)
Posted on Aug 22, 2007 4:04 pm
good idea
FRISH
Comments: 63
 
mIRC Snippet:  good !kb (kick ban)
Posted on Aug 22, 2007 4:21 pm
ty ;)
mountaindew
Comments: 1,547
 
mIRC Snippet:  good !kb (kick ban)
Posted on Sep 1, 2007 3:26 pm
i think you should also make an on text, so other ops can use it too :P
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  good !kb (kick ban)
Posted on Sep 1, 2007 8:43 pm
This would work great as an alias. Practically the same as typing !kb as an input. I must agree with mountaindew, making this an on text event would be helpful to other ops. Nice work.
FRISH
Comments: 63
 
mIRC Snippet:  good !kb (kick ban)
Posted on Sep 3, 2007 7:01 pm
True but then you need to set more coding and rules like you dont want an op !kbing an admin, so thats why i use on input ;P also i prefer using myself as a bot with all commands available for me ;)

of course ya can change it to on text if ya want :)

minor update: works with colour/bold etc in text

Please Register or Login to start posting comments.
Bottom