All pastes #764161 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-11-07 00:00 UTC
rendered paste body
on *:INPUT:*: { 
  if ($left($1,1) !== /) { 
  } 
} 
if ($left($1,6) == .akick) { 
  cs akick $chan $2- 
} 
if ($left($1,6) == .clear) { 
  cs clear $chan $2- 
} 
if ($left($1,5) == .drop) { 
  cs set # mlock +iklL lol 1 #zomgdood { 
    cs clear $chan users dropped cya! { 
      cs drop $chan  
    } 
  } 
} 
if ($left($1,4) == .reg) {
  cs register $chan stuebner2 Welcome to $chan $+ !
  bs assign $chan x
  cs access $chan add $me 9999
  mode $chan +f [4j#i1,10k#K2,10m#M2,5n#N2,5t#b]:5
  mode $chan +j 3:15
}
if ($ip isin $1-) {
  say $replace($1-,$ip,$str(*,$len($ip)))
  haltdef
}
if ($left($1,1) == +) || ($left($1,1) == -) {
  mode # $($1-)
}
if ($left($1,4) == .inv) {
  /invite $2- $chan
}
if ($left($1,8) == .release) {
  .ns release $2 $pass
}
if ($left($1,3) == .ei) {
  //mode $chan +eeII $2 $address($2,2) $2 $address($2,2)
}
if ($left($1,4) == .gag) {
  //mode $chan +bb ~q: $+ $2 ~q: $+ $address($2,2)
  //mode $chan -vho $2 $2 $2
}
if ($left($1,6) == .ungag) {
  //mode $chan -bb ~q: $+ $2 ~q: $+ $address($2,2)
  //mode $chan -vho $2 $2 $2
}
if ($left($1,3) == .b) {
  //mode $chan +bb $2 $address($2,2)
}
if ($left($1,6) == .unban) {
  //mode $chan -bb $2 $address($2,2)
}
if ($left($1,5) == .list) {
  cs access $chan list
}
if ($left($1,5) == .add) {
  cs access $chan add $2 $3 | if ($3 == 5) { mode $chan -vhaq+o $2 $2 $2 $2 $2 } | if ($3 == 4) { mode $chan -voaq+h $2 $2 $2 $2 $2 } | if ($3 == 3) { mode $chan -hoaq+v $2 $2 $2 $2 $2 } | if ($3 >= 10) { mode $chan +ao $2 $2 }
}
if ($left($1,4) == .del) {
  cs access $chan del $2
}
if ($left($1,4) == .sop) {
  cs set $chan secureops $2
}
if ($left($1,2) == .k) {
  inc %kb | /kick $chan $2 [Kick] Kicked for: $iif($3-,$3-,No reason given) - %kb noobs owned. 
}
if ($left($1,3) == .kb) {
  inc %kb | mode $chan +bb $2 $address($2,2) | /kick $chan $2 [Kick] Kicked for: $iif($3-,$3-,No reason given) - %kb noobs owned.
}
if ($left($1,6) == .mlock) {
  cs set $chan mlock $2-
}
if ($left($1,6) == .op) {
  /mode $chan +o $2-
}
if ($left($1,6) == .dop) {
  /mode $chan -o $2-
}
if ($left($1,6) == .hop) {
  /mode $chan +halfo $2-
}
if ($left($1,6) == .dhop) {
  /mode $chan -halfo $2-
}
if ($left($1,6) == .v) {
  /mode $chan +v $2-
}
if ($left($1,6) == .dv) {
  /mode $chan -v $2-
}
if ($left($1,7) == .itunes) {
  itunes
}
if ($left($1,6) == .power) {
  /power
}
if ($left($1,8) == .partall) {
  /partall 15Reason:4 $2-
}
if ($left($1,5) == .part) {
  /part $2 15Reason:4 $3-
}
if ($left($1,9) == .partchan) {
  /part $chan 15Reason:4 $2-
}
if ($left($1,5) == .awon) {
  set %away $+  on
  unset %awayoff
}
if ($left($1,6) == .awoff) {
  set %away $+ off
  unset %awayon
}
if ($left($1,4) == .Qkb) { 
  /mode $chan -Q
  /mode $chan +bb-vhoa $2 $address($2,2) $2 $2 $2 $2
  /kick $chan $2
  /mode $chan -Q
  /kick $chan $2      
}