War Kick Channel

By ThievingSix on Jun 07, 2006

This is a script for a bot, where the bot leads a kicking channel. This channel is for people to have fun kicking one another, and get the feel of power without going over bored.

First things, remember to set the %chan, %chanpass, and %pass before using this script. This is much easier and more fun bot if it is run on a server with chanserv and nickserv. Timers are on the bans so you don't have to worry about unsetting banns.

Levels:
1000 for you and responsible people.
500 for your guests.

On *:Load:{ 
    set %chan $?="Channel"
    set %chanpass $?="Channel Password"
    set %pass $?="Bots Pass"
    auser 1000 $me
    /server
  }
On *:Connect:{
  .ns identify %pass
  .cs identify %chan %chanpass
  .cs owner %chan
  .mode %chan +qaohv $me
  .join %chan
}
On +1000:Join:%chan:{ 
  /mode %chan +qaohv $nick $nick $nick $nick $nick 
}
On +500:Join:%chan:{
  /auser 500 $nick  
  .notice $nick You can now kick with my commands, not yours.
  .notice $nick Commands: .k <nick> <reason>, .kb <nick> <reason>, .db <nick>, .b <nick>
  .notice $nick What they do: .k = kick user, .kb = kicks them and banns them, .db = un banns, .b = bans
} 
On +@1000:Text:*:%chan:{
  If ( $1 == .k ) { .kick %chan $2 $nick ( $3- ) }
  If ($1 == .kb) { .ban -k %chan $2 $nick ( $+ $3- $+ ) }
  If ( $1 == .db ) { .ban -r %chan $2 }
  If ( $1 == .v ) { .mode %chan +v $2 } 
  If ( $1 == .dv ) { .mode %chan -v $2 }
  If ( $1 == .h ) { .mode %chan +h $2 }
  If ( $1 == .dh ) { .mode %chan -h $2 }
  If ( $1 == .o ) { .mode %chan +o $2 }
  If ( $1 == .do ) { .mode %chan -o $2 }
  If ( $1 = .e ) { .mode %chan +e $address($2,2) }
  If ( $1 = .de ) { .mode %chan -e $address($2,2) }
  If ( $1 = .auser ) { /auser $2 $3 } 
  If ( $1 == .b ) { .ban %chan $2 } 
  If ( $1 = !Commands ) { .notice $nick .k, .kb, .db, .v, .dv, .h, .dh, .o, .do, .e, .de }
}

On +500:Text:*:%chan:{ If ( $2 = $me ) { halt }      
  If ( $1 == .k ) { .kick %chan $2 $nick ( $3- ) }     
  If ( $1 == .kb ) { .ban -k %chan $2 $nick ( $+ $3- $+ ) | timer* 1 10 .ban -r %chan $2 }
  If ( $1 == .db ) { .ban -r %chan $2  }
  If ( $1 == .b ) { .ban %chan $2 | .timer* 1 10 /ban -r %chan $2 }
}

On +500:NICK:%chan:{ /auser 500 $newnick }
On +1000:NICK:%chan:{ /auser 1000 $newnick }

Comments

Sign in to comment.
AHBARAR   -  Jun 02, 2007

Nice Script My Freinds So Funny But I Prefer In This Tht There Must Be No Admin All Same Level

 Respond  
LiquidJesus   -  Jun 10, 2006

This was pretty good....its a fun little bot...kinda useful...but i enjoyed it...good job

 Respond  
Noutrious   -  Jun 07, 2006

Sorry, but i think this is lame.
If ( $1 == .kb ) { /kick %chan $$2 $nick ( $3- ) | /mode %chan +b $address($$2,2) }
can be replaced with
if ($1 == .kb) { .ban -k %chan $2 $nick ( $+ $3- $+ ) }
the $$2 can be $2 it doesn`t need two $$
Sorry, but i think this should be scored by 2.

 Respond  
Raichu   -  Jun 07, 2006

Whats the use of the high levels while u could just do level 1 is guest (because everyone is) and level 5+ admin?

 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.