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
}