All pastes #940567 Raw Edit

Inputs made by SlimShady261

public text v1 · immutable
·published 2008-03-13 01:51 UTC
rendered paste body
on *:INPUT:#: {
  if ($1 == .minv) {  
    set %nicks 1 
    while ( %nicks <= $nick($chan,0) ) { 
      invite $nick($chan,%nicks) $2 
      inc %nicks 
    } 
    unset %nicks 
    halt 
  }
  if ($1 == .amsg) {  
    var %x = 1 
    while (%x <= $chan(0)) { 
      if (($chan(%x) != #svclan)) && (($me isop $chan(%x)) || ($me ishop $chan(%x)))  msg $chan(%x) 4>2>4>2amsg4<2<4<12 $2- 
    inc %x } 
  } 
  if ($1 == .akick) {
    cs akick # add $2-
  }
  if ($1 = .delakick) {
    cs akick # del $2-
  }
  if ($1 == .akicklist) {
    cs akick # list
  }
  if ($1 == .entrymsg) {
    cs set # entrymsg $2-
  }
  if ($1 == .reg) {
    cs register # chad7b This Channel is AWESOME =).
  }
  if ($1 == .eI) && (!$2) {
    mode $chan +eeeIII $address($me,9) $me $address($me,2) $address($me,9) $me $address($me,2)
  } 
  if ($1 == .language) {
    ns set language $2
  }
  if ($2) && ($1 == .eI) {
    mode $chan +eeeIII $address($2,9) $2 $address($2,2) $address($2,9) $2 $address($2,2)
  } 
  if ($2) && ($1 == ,eI) {
    mode $chan -eeeIII $address($2,9) $2 $address($2,2) $address($2,9) $2 $address($2,2)
  }
  if ($1 == .add) || ($1 == .del) || ($1 == .list) {
    cs access $chan $remove($1,.) $2-
  }
  if ($1 == .add) && ($$3 isnum) {
    $iif($3 > 2,    mode $chan $iif($3 == 3,+v-oha)  $iif($3 == 4,+h-voa) $iif($3 isnum 5-9,+o-hva) $iif($3 > 9,+ao-hv) $str($2 $+ $chr(32),5))
  }
  if ($1 == .del) && ($2 ison $chan) {
    mode # -aohv $2 $2 $2 $2
  }
  if ($left($1,1) == +) || ($left($1,1) == -) {
    $iif($remove($1,-,+) isalpha,mode $chan $eval($1-,2))
  }
  if ($1 == .secureops) {
    cs set # secureops $2
  }
  if ($1 == .u) {
    ns update
  }
  if ($1 == .inv) {
    invite $2 $chan
  }
  if ($1 == .v) {
    if ($2 == != $null) cs voice $chan $me
    else { cs voice $chan $eval($2,2)
    }
  }
  if ($1 == .-v) {
    if ($2 == != $null) cs devoice $chan $me
    else { cs devoice $chan $eval($2,2)
    } 
  }
  if ($1 == .k) {
    kick $chan $2-
  }
  if ($1 == .op) {
    if ($2 == != $null) /cs op $chan
    else mode $chan +o $eval($2,2)
  }
  if ($1 == .kb) {
    mode $chan +bb $nick $address($2,2)
    kick $chan $2-
  }
  if ($1 == .unban) {
    mode $chan -b $2
    mode $chan -b $address($2,2)
    ban -r $chan $2
  }
  if ($1 == .ban) {
    mode $chan +b $address($2,2)
  }
  if ($1 == .deop) {
    mode $chan -o $2
  }
  if ($1 == .topic) {
    msg $chan The topic is: $chan($chan).topic
  }
  if ($1 == .mlock) {
    cs set # mlock $2-
  }
  if ($1 == .assign) {
    bs assign # $2 
  }
  if ($1 == .join) {
    join $2
  }
  if ($1 == .unassign) {
    bs unassign #
  }
  if ($1 == .topiclock) {
    cs set # topiclock $2
  }
  if ($1 == .cs) {
    cs $2 # $3-
  }
  if ($1 == .bs) {
    bs $2 # $3-
  }
  if ($1 == .sp) {
    mode # +RntjfmV 2:99 [8j#i10]:10
  }
  if ($1 == .spoff) {
    mode # -RjfmV 2:99 [8j#i10]:10
  }
  if ($1 == .Qkb) {
    mode # +bbb-vhoQ  $2 $address($2,2) $address($2,1) $2 $2 $2
    mode # -Q 
    kick # $2 $3- 
    mode # -Q 
    kick # $2 $3-
    mode # +Q
  }
  if ($1 == .Qk) {
    mode # -oQ $2
    kick # $2 $3-
  }
  if ($1 == .levels) {
    cs levels # set $$2-3
  }
  if ($1 == .ucount) {
    say The user count for $iif($2,$2,#) is $nick($iif($2,$2,#),0)
  }
  if ($1 == .m) {
    samode # $eval($2,2)
  }
  if ($1 == .cb) {
    mode $chan +b ~c: $+ $2
  }
  if ($1 == .-cb) {
    mode $chan -b ~c: $+ $2
  }
  if ($1 == .mute) {
    mode $chan +b-vho ~q: $+ $address($2,3) $2 $2 $2
  }
  if ($1 == .unmute) {
    mode $chan -b ~q: $+ $address($2,3)
  }
  if ($1 == .hush) {
    mode $chan +b ~q: $+ $address($2,3)
  }
  if ($1 == .shun) {
    shun $2 0 :$4- Shunned Until Further Notice.
  }
  if ($1 == .gline) {
    gline $2 0 $3- Unable to join server until further notice.
  }
  if ($1 == .kill) {
    kill $2 $3- Killed by SlimShady261.
  }
  if ($1 == .botadd) {
    bs bot add $2 $2 $3- $3
  }
  if ($1 == .xop) {
    cs set # XOP $2
  }
  if ($1 == .clear) {
    cs clear # $2-
  }
  if ($1 == .set) {
    cs set # $2-
  } 
  if ($1 == .confirm) {
    ns confirm $2-
  }
  if ($1 == .tempshun) {
    tempshun + $+ $2 $3-
    notice $me $2 Has Been TempShunned for $3-
  }
  if ($1 == .detempshun) {
    tempshun - $+ $2-
  }
}
}
}