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 }