Please Disable Ad-Block To View This Website.

If you block ads, this site can not survive!

Ads are very minimal for registered users. If you don't have an account please register now!

DOWNLOAD
 Full Scripts
 Addons
 Snippets
 DLLs
 MTS Themes
 Tutorials
 Misc.
 File Queue
 Download mIRC
INTERACT
 Screenshots
 Challenge
 Top Downloads
 Submit Form
 Forums

SEARCH
Site Search

FRIENDS
Link to us!
PhotoShelf

Top Challenge Entrants

  # User Points
  1 jaytea 587
  2 [Znork] 303
  3 urza 297
  4 Ag2X 288
  5 dr_Eamer 255
  6 Albie 199
  7 Chessnut 197
  8 A Noniem 194
  9 zzattack 186
  10 Kol 185
  11 m910q 168
  12 Sephiroth 115
  13 patje 114
  14 Auron956 114
  15 chid 110
  16 Ohad2121 92
  17 SkorpSSS 87
  18 DixrouE 84
  19 Suchorski 83
  20 ^Vampire^ 74
Challenge:Smallest Repeat Kicker
Started:August 8th 2000
Ends:August 23rd 2000

In this challenge you must kick any person repeating 3 or more times on a channel. The rules for this challenge are as follows:

  • Only 1 script file named repkicker.mrc is allowed to be submitted
  • Only 1 local variable is allowed (No normal variables)
  • Must kick anyone repeating 3 or more times, consecutively, in the same channel within 10 seconds
  • Should only trigger when you're opped
  • Must work on all channels you're opped on
  • Kick message has to be 'repeat kick'
  • You do not need to kick for actions or notices.
  • The repeat kicker should work on its own with no setup or outside commands for it to work.
All entries will be judged based on smallest file size.

Challenge Entries:

All challenge entries were tested and counted the same way.

Winner:
Name: cold-
File size: 186 bytes

How he did it:

Using his one allowed local variable, he stored $nick and and the triggered channel in it. Then created a window (e.g. @nick#chan)
var %© @ $+ $nick $+ # | window %©

Next part is where he checks if the channel message is in the window. If not it clears the window and sets a timer to clear it in 10 seconds.
if $1- != $line(%©,$line(%©,0)) { clear %© | timer $+ %© 1 10 clear %© }

Now he stores the channel message in the window
echo %© $1-

The last part checks if there are more than 2 lines in the window then kicks the user out.
if $line(%©,0) > 2 kick # $nick repeat kick

It does leave a lot of windows left open, but its still within the rules. Good job cold-

Almost...

  1. Name: HeHe
    File size: 245 bytes
    Description: Had a pretty good idea. Used tokenize to act as his variable then stored everything a timer

  2. Name: sandman
    File size: 270 bytes
    Description: sandman used @window titlebars and editboxes to store his info, not a bad idea, although it cost him a little in size.

Invalid entries

  • Name: _Parappa_
    File size: 167 bytes
    Description: I was excited to see such a small entry at first, but after testing it thoroughly, I found it didn't work in some cases
    eg.
    (fubar) testing
    (fubar) testing
    (fubar) test
    Then I was kicked.

  • Name: danielson
    File size: 170 bytes
    Description: Another good one that was coded nice. The only problem was it used '/filter' which takes wildmatches into account
    eg.
    (fubar) Hi There!
    (fubar) Hi There?
    (fubar) *
    Then I was kicked.

  • Name: BlackLight
    File size: 184 bytes
    Description: I was happy to see this one because he had the same approach as me, but unfortunately his repeat kicker wasn't channel specific, so if I said "test" on #chan1, then "test" on #chan2, then "test" on #chan3 within 10 seconds, it would kick me.

  • Name: jon (hellish)
    File size: 192 bytes
    Description: This one worked fine, except it acted funny when messaging numbers
    eg.
    (fubar) 1
    (fubar) 2
    (fubar) 2
    Then I was kicked.
    This is most likely due to mIRC's way of speeding up $read, when you put a number on the first line mirc reads it as the the total number of lines in that file. (-t switch would have fixed it)

  • Name: Rafael
    File size: 212 bytes
    Description: This one simply never worked, no matter how many times I repeated

  • Name: Felipe Curty do Rego Pinto
    File size: 236 bytes
    Description: Same as above. Never worked.

  • Name: Hoang Viet
    File size: 282 bytes
    Description: Worked ok, but kicked on non-consecutive repeats

  • Name: Noob_Saibot_
    File size: 284 bytes
    Description: Another one that didn't work correctly due to wildmatch characters. (see danielson entry's comments)

  • Name: Rothmam
    File size: 387 bytes
    Description: Didn't work. Kept getting '$ini' errors.

  • Name: ^ASM^
    File size: 450 bytes
    Description: Worked ok, but kicked on non-consecutive repeats.