.k .kb etc. script, very simple

By Seb on Dec 23, 2006

uses . commands such as .k and .kb to do things such as kick, kickban, add access, invite, put on except, gag, and more. very simple

on *:KICK:#: if ( $nick == $me ) inc %kicks 1
}  
on *:INPUT:#: { if ( $1 == .k ) kick $chan $2 $3-  Kick count:  $+ %kicks  $+ 
  if ( $1 == .cb ) mode $chan +b ~c: $+ $2
  if ( $1 == .-cb ) mode $chan -b ~c: $+ $2
  { if ( $1 == .kb ) mode $chan +b $address($2,2)
    if ( $1 == .kb ) kick $chan $2 $3- Kick count: $+ %kicks $+ 
    if ( $1 == .gag ) mode $chan +b ~q: $+ $address($2,2)
    if ( $1 == .gag ) mode $chan -v $$2
    if ( $1 = .ungag ) mode $chan -b ~q: $+ $address($2,2)
    if ( $1 = .ungag ) mode $chan +v $$2
    if ( $1 = .v ) mode $chan +v $$2
    if ( $1 = .-v ) mode $chan -v $$2
    if ( $1 = .h ) mode $chan +h $$2
    if ( $1 = .-h ) mode $chan -h $$2
    if ( $1 = .o ) mode $chan +o $$2
    if ( $1 = .-o ) mode $chan -o $$2
    if ( $1 = .i ) invite $$2 $chan
    if ( $1 = .j ) join $$2
    if ( $1 = .av ) cs access $chan add $2 3
    if ( $1 = .kill ) cs access $chan add $2 -100
    if ( $1 = .ah ) cs access $chan add $2 4
    if ( $1 = .ao ) cs access $chan add $2 5
    if ( $1 = .aao ) cs access $chan add $2 10
    if ( $1 = .alist ) cs access $chan list
    if ( $1 = .e ) mode $chan +e $address($2,2)
  if ( $1 = .-e ) mode $chan -e $address($2,2)  }

Comments

Sign in to comment.
Spectator   -  Jan 01, 2007

I got it :D

 Respond  
Spectator   -  Jan 01, 2007

SEB. I need help wid dis. Get off of Tribes !

 Respond  
mysterycool   -  Dec 26, 2006

you could improve it by doing it to kick like \"secretky\" the users! I mean doing it by pming the bot!

 Respond  
Marshtomp   -  Dec 23, 2006

\"and you are also missing a closeing bracket at the end also \"
no, he added a wrong one..
{ if ( $1 == .kb ) mode $chan +b $address($2,2)

 Respond  
RoninWarrior   -  Dec 23, 2006

and you are also missing a closeing bracket at the end also }

 Respond  
RoninWarrior   -  Dec 23, 2006

when useing %inc you dont have to put the 1 in front of it , it will calc each kick for the counter ,if you use the 1 then you will be 1 kick a head of what you have really kicked

 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.