Top

LKICK - Auto Kick N times *UPDATE*


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  3.0
Scores Submitted  2
Date Added  Jun 19, 2008
Last Updated  Jun 25, 2008
Tags  auto  kick  lkick  mirc 
  Bookmark and Share

Introduction

*UPDATE*: Added the "i" switch. If called, the user will be automatically invited on every kick. See examples for more details.

LKICK is a fun function you can use to kick someone as many times as you want or even infinitely.

Installation:
Open the script editor in mirc (Alt+R) and go to the Remote tab, paste the script, File->Save, and click 'OK'.

Usage:
/lkick [-.a.b.i] [<chan>] <nick> [<kicks>] [<reason>]

For example:

/lkick #channel nick 5 reason
Kicks the user from the channel 5 times.

If I wanted to kick nick from the active channel 3 times i would type:
/lkick -.a nick 3 loltripplekick
Will result in:
Kicks: nick was kicked from #channel by [$me] (loltripplekick)
Joins: nick
Kicks: nick was kicked from #channel by [$me] (loltripplekick)
Joins: nick
Kicks: nick was kicked from #channel by [$me] (loltripplekick)
Joins: nick
nick: WTF?!

/lkick -.b #channel nick lol your not gettin outa this one ;D
Will Kick the user every time they rejoin until you type '/lkick off' to disable the script.

/lkick -.a.b nick Weee
Will result in a combination of the last two examples.

/lkick -.a.i nick 3 Wee, now I dont have to worry about you not finding your way back :D
Will result in 3 kicks and after each one an invite will be sent to them.

/lkick off
Disables the kicking and allows the user to come back in.

When using switches you must put a '.' (period) after the - and between each switch.

TODO:
Add mass kick switch.
Add mass channel switch.

Grab the Code

Comments

  (2)  RSS
Demonoid
Comments: 1
 
mIRC Snippet:  LKICK - Auto Kick N times *UPDATE*
Posted on Jul 17, 2008 3:55 pm
Very nice script Nihathan but I get an error. Script working fine with following syntax:
/lkick #channel nick 5 reason

If I use instead syntax with attributes [-.a.b.i] I get this error:
/if: invalid format (line 62, lkick)

---

Besides my suggestion is to add to the script a kicks counter. Example for 3 kicks:

Will result in:
Kicks: nick was kicked from #channel by [$me] (again 2 kicks to end)
Joins: nick
Kicks: nick was kicked from #channel by [$me] (again 1 kicks to end)
Joins: nick
Kicks: nick was kicked from #channel by [$me] (kicks ended)

---

I love also "on input" command, so it's possible to use this script with visible command? I mean like this example:
!lkick [-.a.b.i] [<chan>] <nick> [<kicks>] [<reason>]

NIGathan
Comments: 52
 
mIRC Snippet:  LKICK - Auto Kick N times *UPDATE*
Posted on Jul 30, 2008 8:48 am
Hmm, never noticed that bug before, thanks for pointing it out.

Ya, thats a good idea, I could probably add a switch for that. Btw, Ive already updated the script with a better switch system so you dont have to include the periods, and fixing some things, and adding popups to it. If you want me to post it let me know. If you dont say anything Ill just post it when I add that counter and fix that bug.

Please Register or Login to start posting comments.
Bottom