Randomkicker

By Caseidon on Nov 17, 2006

This snippet allows you to let users in your channel !randomkick people. I know some people really don't like this (me including) but i was sick at home, and kinda bored... and there are always people who DO like it. Put this in your mIRC remote and have fun.

;Randomkicker by Caseidon ~> irc.quicknet.nl || #ircworld
;Put this in your mIRC dir and type /load -rs randomkick.mrc
;Usage: !randomkick
;Tested on mIRC 6.16 and 6.17.
on 1:LOAD:/echo -a RandomKickScript By Caseidon Loaded! ~ You need to turn it on before you can use it. | set %once.a.sec 3600 | set %randomkick off | set %nrankick 0
on *:TEXT:!randomkick*:#: {
  if (%randomkick == on) && ($me isop $chan) {
    inc %nrankick
    set %randomkick off
    .timerkickrandom 1 %once.a.sec set %randomkick on
    :kicqrand
    set %rk.users $nick($chan,0)
    set %rk.user $rand(1,%rk.users)
    set %randomukick $nick($chan,%rk.user)
    if (%randomukick == $me) { goto kicqrand }
    else { msg $chan 7Picking random victim...
  .timerrankick 1 3 kick $chan %randomukick (Random Kick) Number;7 %nrankick $+ ! } }
  elseif (%randomkick == off) { .notice $nick This command can only be used once a %once.a.sec seconds and only in channels I'm opped in. }
}
menu Channel {
  Randomkick
  .Options
  ..Set On:/set %randomkick On | .timerkickrandom off
  ..Set Off:/set %randomkick Off | .timerkickrandom off
  ..-
  ..Once a?:/set %once.a.sec $$?="(In seconds, example: 3600 for 1 hour):" | echo -a Set to once a %once.a.sec seconds.
  ..Reset counter ( $+ %nrankick $+ ):/set %nrankick 0
}

Comments

Sign in to comment.
napa182   -  Aug 11, 2008

lol way to bring up an old code ffs it was tested with mIRC 6.16 and 6.17

 Respond  
Cheiron   -  Aug 11, 2008

true.. like i said though... check if op maybe lol... been quite an intersting code to look at this one.. very different to most. i like it gonna give it a 4 to kick it off the ratings

 Respond  
EL   -  Aug 11, 2008

You dont need if ($me isop $chan) a simple @ on th text even will do also you prolly should add flood pros and maybe not allow EVERYONE to trigger this maybe make it triggerible then select a nick in the channel then that nick can trigger the random kick part.`-.-´

 Respond  
Cheiron   -  Aug 11, 2008

check if op maybe? or something like ... if ($nick isop $chan) | halt ... prehaps to protect them?

 Respond  
lillaiwazz   -  Aug 11, 2008

Nice

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.