Kickban script - Kicks - ban on 3

By ToySoldier on Jul 22, 2007

This is a kickban script.

When you type '/kw nick' it wil kick 'nick'.

Kick 1: (Strike 1!)
Kick 2: (Strike 2!)
Kick 3: (Strike 3! You're out!)

Kick 1: Jus't a kick.
Kick 2: Second kick
Kick 3: Ban.

It keeps a list per nick per channel.

(P.S.: I did NOT scripted this, someone else scripted this for me, and i posted it here.)

(P.S.2.: Mraedis (irc.travian.org) made it for me.)

/kw {
  if (%k. [ $+ [ $$1 ] $+ [ $chan ] ] == $null) {
    set -e %k. [ $+ [ $$1 ] $+ [ $chan ] ]  1 | /kick $chan $$1 (Strike 1!)
  }
  else if (%k. [ $+ [ $$1 ] $+ [ $chan ] ]  == 1) { 
    inc %k. [ $+ [ $$1 ] $+ [ $chan ] ]
    kick $chan $$1 (Strike 2!)
  }
  else if (%k. [ $+ [ $$1 ] $+ [ $chan ] ]  == 2) { 
    ban $chan $address($$1,2)
    kick $chan $$1 (Strike 3! You're out!)
    unset %k. [ $+ [ $$1 ] $+ [ $chan ] ]
  }
}

Comments

Sign in to comment.
Sidearm   -  Jan 04, 2008

What seems to be the problem?

 Respond  
ermansanidhya   -  Aug 18, 2007

this is not work

 Respond  
ToySoldier   -  Jul 25, 2007

bcause i think its a good script, and i know the maker doesnt care.

 Respond  
NightCrawler   -  Jul 24, 2007

If u didnt make this why did u post it?

 Respond  
Olliegod   -  Jul 22, 2007

If you didn\'t script it yourself you should post credits to who did script it.

 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.