.kb Script and more . commands

By Jordyboy on May 14, 2006

.k = kick
.kb = kick ban
.cb = Channel Ban
.-cb = Channel Ban
.g = Gag
.-g = Un gag
.v = Voice
.-v = Devoice
.h = Halfop
.-h = De halfop
.o = op
.-o = De op
.e = Add Exception
.-e = Remove Exception
.j = Join chan
.i = Invite to chan.

on *:KICK:#: if ( $nick == $me ) inc %kicks 1
}  
on *:INPUT:#: { if ( $1 == .k ) kick $chan $2 $3- %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- %kicks 
    if ( $1 = .g ) mode $chan +b ~q: $+ $address($2,2)
    if ( $1 = .-g ) mode $chan -b ~q: $+ $address($2,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 = .e ) mode $chan +e $address($2,2)
    if ( $1 = .-e ) mode $chan -e $address($2,2)
  }

Comments

Sign in to comment.
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.