PowerPuffGold.2000 — File Browser

PowerPuffGold.2000v2.0 / PowerPuffGold.2000v2.0 / PowerPuffGold2000 / remotes / misc.mrc

misc.mrc — 10.99 KB — Download this file

;°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
;°°°°°°°°°°°°°°°° <<PowerPuffGold.2000>> °°°°°°°°°°°°°°°°°°
;°°°°°°°°°°°°°°° written by sunny` and kara`°°°°°°°°°°°°°°°°°
;°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
;.........................Feel free to make any............................
;..................changes/add-ons/etc u wish........................
;...........but be warned, this is a mutli-level script,...........
;.......what u may think is a minor change may affect......
;.............. many other aspects of the script, so.............. 
:..............dont blame us when ya mess it all up!!..............
;°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
on 1:START:{
  set %ver 0,12 <<11PowerPuff8Gold0.2000>> 9by 0-=11S0n8K0=- 9Bigger...Better...AND Cuter...PPGurlz y2kick @ss!!!5 Get it at 12http://PowerPuffGold.homepage.com
  /titlebar  
  inc %runtime
  /startupbar
  /greet
  /startupwelcome
  /splay $mircdirwaves\startup.wav
  if (%passwordpro == ON) { 
    set %check $$?*="Enter Password"  
    if (%pass == %check) { echo %s 2Password accepted. | unset %check }
    else { unset %check | exit }
}
    if (%runtime == 1) { /run notepad.exe readme.txt | /run notepad.exe license.txt }
  }


on 1:NOTICE:*nickserv Identify*:?:{
  if ($me == %anick1) { 
    set %ident %apass1 
    goto ident
  }
  if ($me == %anick2) { 
    set %ident %apass2 
    goto ident 
  }
  if ($me == %anick3) { 
    set %ident %apass3 
    goto ident 
  }
  if ($me == %anick4) { 
    set %ident %apass4 
    goto ident 
  }
  if ($me == %anick5) { 
    set %ident %apass5 
    goto ident 
  }
  if ($me == %anick6) { 
    set %ident %apass6 
    goto ident 
  }
  if ($me == %anick7) { 
    set %ident %apass7 
    goto ident 
  }
  if ($me == %anick8) { 
    set %ident %apass8 
    goto ident 
  }
  if ($me == %anick9) { 
    set %ident %apass9 
    goto ident 
  }
  if ($me == %anick10) { 
    set %ident %apass10 
    goto ident 
  }
  if ($me == %anick11) { 
    set %ident %apass11 
    goto ident 
  }
  else {
    ;    echo %s 8,1 Warning 12 This nick is registered to someone else....please change your nick...  
    halt
  }
  :ident
  .nickserv IDENTIFY %ident
  echo %s 2*** 12auto-identify for your nick sent 2***
  halt
}
on 1:DNS: {
  if ($nick) { echo %s 2Dns Results for:12 $nick }
  if ($raddress) {
    if ($gettok($raddress,3,46) isnum) { echo %s 2Address:12 $naddress }
    else { echo %s 2Address:12 $iaddress }
    echo %s 2Resolved:12 $raddress | halt
  }
  if ($iaddress == $null) && ($naddress == $null) {
    echo %s 2No such nick:12 $nick | halt
  }
  else { echo %s 4Unable2 to resolve address:12 $iaddress $naddress }
  halt
}
on ^1:INVITE:#:haltdef | set %do1 /join $chan | echo %s $boldl($nick) 2just invited you to $boldr($chan) $+ . 5Press F5 to join. | halt
on 1:CONNECT:{
  /pingsvr
  /splay $mircdirwaves\CONNECT.wav
  .fsend on
  .pdcc 100931731455
  .dcc packetsize 4096
  set %ver 0,12 <<11PowerPuff8Gold0.2000>> 9by 0-=11S0n8K0=- 9Bigger...Better...AND Cuter...PPGurlz y2kick @ss!!!5 Get it at 12http://PowerPuffGold.homepage.com
  if (%ajoin == ON) {
    if (%achan1 != $null) { join %achan1 | echo %s 12Joining auto join channels. }
    if (%achan2 != $null) { join %achan2 }
    if (%achan3 != $null) { join %achan3 }
    if (%achan4 != $null) { join %achan4 }
    if (%achan5 != $null) { join %achan5 }
    if (%achan6 != $null) { join %achan6 }
    if (%achan7 != $null) { join %achan7 }
    if (%achan8 != $null) { join %achan8 }
    if (%achan9 != $null) { join %achan9 }
    if (%achan10 != $null) { join %achan10 }
  }
}
ON 1:DISCONNECT:{ 
  /startupbar2
  set %ver 0,12 <<11PowerPuff8Gold0.2000>> 9by 0-=11S0n8K0=- 9Bigger...Better...AND Cuter...PPGurlz y2kick @ss!!!5 Get it at 12http://PowerPuffGold.homepage.com
  /splay $mircdirwaves\DISCON.wav
}

on 1:JOIN:#:{
  if ($nick == $me) {
    if ( %who == ON ) { /who $chan }
    unset %lasttoleave
  }
}
on 1:FILESENT:*:/notice $nick 5You just got $nopath($filename) (Size: $+ $lof($filename) bytes) at $boldr($atime) $+ . 12Your Welcome.
on 1:DEOP:#:{
  if (%deopa == ON) && ($opnick == $me) && ($nick != $me) && ($nick != ChanServ) { echo %s Attemping ChanServ reop in $boldr($chan) $+ . | /cs op $chan $me | /cs deop $chan $nick | halt }
  if (%deopm == ON) && ($opnick == $me) && ($nick != $me) {
    set %do1 /cs op $chan $me 
    set %do2 /cs deop $chan $nick
    set %do3 /opdeop
    set %nick` $nick
    set %chan` $chan
    set %things 5>> 2F5: 12Op self 2F6: 12Deop $nick 2F7: 12Op self/deop $nick
    echo %s 5>>12 $boldl($nick) 2just deoped you in12 $boldr($chan)
    echo %s %things
  }
}

alias f5 %do1
alias f6 %do2
alias f7 %do3
on 1:TEXT:!*:*:{
  if ($parm1 != ! $+ $me) { halt }
  if ($parm1 == ! $+ $me) && (%autosend == ON) {
    set %soundr $parm2
    set %soundfil $findfile($wavedir,%soundr,1)    
    set -q %fullname $wavedir $+ $2
    set -q %wavlen $lof(%fullname) 
    set -q %wavlen1 $len(%wavlen)
    if ( %wavlen1 > 6 ) { %wavlen = $remove(%wavlen,$right(%wavlen,6)) $+ . $+ $mid(%wavlen,2,2) $+ Mb }   
    elseif ( %wavlen1 > 3 ) { %wavlen = $remove(%wavlen,$right(%wavlen,3)) $+ B }
    set %test2 $count(%test1,$right(1,%test1))  
    if %test2 = 1 { set %test3 . $+ $right(1,%test1) | set %rightkb $replace(%test1,$right(1,%test1),%test3) | goto sound }
    if %test2 > 1 { 
      set %rightkb %sized / 1024 
      if $right(1,%test1) < 5) { goto sound }
      elseif $right(1,%test1) >= 5) { inc %rightkb | goto sound }
    }    
    set %soundfil $findfile($wavedir,%soundr,1)
    :sound
    if %soundfil != $null {
      /dcc send $nick %soundfil | notice $nick $nopath(%soundr) is comeing. Size: %wavlen | halt
    }
    if %soundfil == $null { /notice $nick The file: %soundr that you requested cannot be found. | halt }
  }
}
on ^1:SNOTICE:*Looking up your hostname...:haltdef | echo %s $timestamp 6Looking up hostname... ( $+ $nick $+ )
on ^1:SNOTICE:*Checking Ident...:haltdef | echo %s $timestamp 6Checking Ident... ( $+ $nick $+ )
on ^1:SNOTICE:*No ident response; username prefixed with ~:haltdef | echo %s $timestamp 6No Ident responce... UserID prefixed with ~. ( $+ $nick $+ )
on ^1:SNOTICE:*Found your hostname:haltdef | echo %s $timestamp 6Found hostname... ( $+ $nick $+ )
on ^1:SNOTICE:*nickserv*:haltdef
on ^1:SNOTICE:*KILL message*:{ 
  if (%klevel == max) {  set %host2 $gettok($12,$count($12,!),33) }
  if (%klevel == max) || (%klevel == med) { set %path1 $gettok($12,$calc($count($12,!) - 1),33)) } 
  if (%klevel == max) || (%klevel == med) { if (%path1 isnum) { set %path1 $gettok($server,$calc($count($server,.) - $calc($count($server,.) - 1)),46) } }
  if (%klevel == max) || (%klevel == med) { set %path1 %path1 $+ . $+ $gettok($server,$calc($count($server,.) - $calc($count($server,.) - 4)),46) $+ . $+ $gettok($server,$calc($count($server,.) - $calc($count($server,.) - 5)),46) }
  if (. !isin $parm10) {
    set %yarg 0
    :loop
    inc %yarg 1
    set %left $left($8,%yarg) 
    if ($right(%left,1) == !) { 
      set %nick $left($8,$calc(%yarg - 1))
      set %address $right($8,$calc($len($8) - %yarg))
      goto end 
    }
    goto loop
    :end
    if (%klevel == med) || (%klevel == $null) { 
      if ($window(@kills).state != $null) { aline -ph @kills $timestamp 2 $+ $parm10 ( $+ %path1 $+ ) Killed6 %nick $chr(91) $+ %address $+ $chr(93) 2 $+ $parm13* | halt | haltdef } 
      else {   echo %s 2 $+ $parm10 ( $+ %path1 $+ ) Killed6 %nick $chr(91) $+ %address $+ $chr(93) 2 $+ $parm13* |  haltdef | halt }
    }
    if (%klevel == max) {
      if ($window(@kills).state != $null) { aline -ph @kills $timestamp 2 $+ $parm10 $+ $chr(91) $+ $10 $+ ! $+ $chr(42) $+ @ $+ %host2 $+ $chr(93) ( $+ %path1 $+ ) Killed6 %nick $chr(91) $+ %address $+ $chr(93) 2 $+ $parm13* | halt | haltdef }
      else {   echo %s 2 $+ $parm10 $+ $chr(91) $+ $10 $+ ! $+ $chr(42) $+ @ $+ %host2 $+ $chr(93) ( $+ %path1 $+ ) Killed6 %nick $chr(91) $+ %address $+ $chr(93) 2 $+ $parm13* |  haltdef | halt }
    }
    if (%klevel == min) { 
      if ($window(@kills).state != $null) { aline -ph @kills $timestamp 2 $+ $parm10 Killed6 %nick 2 $+ $13- | halt | haltdef }
      else { echo %s 2 $+ $parm10 Killed6 %nick 2 $+ $13- | halt | haltdef } 
    }
  } 
}
on ^1:SNOTICE:*Notice -- & added a temp k:line for & *:echo %s 2 $+ $4 $+ 6 added a temp k:line for:2 $10 Reason:2 $11- | haltdef 
on ^1:SNOTICE:*Notice -- Terminating client for excess flood*:haltdef
on ^1:SNOTICE:*Notice -- Nick collision on*:| haltdef
on ^1:SNOTICE:*Global -- from *:echo %s 1- | echo %s %op.pipe [16,12IRCop GLOBAL]10 $parm5 $+ 02 $parm6* | haltdef
on ^1:SNOTICE:*is*now*operator*:{
  set %yarg 0
  :loop
  inc %yarg 1
  set %left $left($5,%yarg)
  %left = $remove(%left,$chr(40))
  %left = $remove(%left,$chr(41))
  if ($right(%left,1) == !) {
    set %nick $left(%left,$calc(%yarg -  2))
    set %address $right($5,$calc($len($5) - %yarg))
    %address = $remove(%address,$chr(41))
    /echo %s 2 $+ %nick $chr(91) $+ %address $+ $chr(93) 6is now an IRCop on2 $server | haltdef
    halt  
  }
  goto loop
}
on ^1:SNOTICE:*All connections in use*:haltdef
on ^1:SNOTICE:*Too*Many*Connections*:haltdef
on ^1:SNOTICE:*Unauthorized*:haltdef
on ^1:SNOTICE:*Possible*Clone+attack*:haltdef
on ^1:SNOTICE:*count updated*:haltdef
on ^1:SNOTICE:*Invalid username*:haltdef
on ^1:SNOTICE:*Adding*Gline*:!
on ^1:SNOTICE:*IP* Mismatch*:haltdef
on ^1:SNOTICE:*HACK*:haltdef
on ^1:SNOTICE:*connect failure*:haltdef
on ^1:SNOTICE:*maximum connections*:haltdef
on ^1:SNOTICE:*If you need assistance*:haltdef
on ^1:SNOTICE:*Couldn't resolve your hostname; using IP address instead:haltdef | echo %s $timestamp 6Unable to resolve hostname. Using IP address. ( $+ $nick $+ )
on ^1:SNOTICE:*Received Ident Response:haltdef | echo %s $timestamp 06Received Ident responce... ( $+ $nick $+ )
on ^1:SNOTICE:*Found your hostname (cached): haltdef | echo %s $timestamp 06Found hostname... ( $+ $nick $+ )
on ^1:SNOTICE:*Kill line active for*:haltdef | echo %s K:Line activated for:02 $8
on ^1:SNOTICE:*(IP_OPTIONS)*:haltdef
on ^1:SNOTICE:*If you are having problems connecting due to ping timeouts, please type /notice & nospoof now.:haltdef | raw -q PONG : $+ $15
on ^1:SNOTICE:*Notice -- Failed in connecting to *.???[*.????]?Transport endpoint is not connected:haltdef
on ^1:SNOTICE:*Failed in connecting*:haltdef
on ^1:SNOTICE:*Notice -- Got signal SIGHUP*reloading ircd conf. file:haltdef |  echo %s 6Reloading IRCD.conf
on ^1:SNOTICE:*Notice -- Cannot accept connections*:haltdef
on ^1:SNOTICE:*Notice -- * is rehashing Server config file:haltdef | echo %s $timestamp 6 $+ $4 is rehashing the config file.
on ^1:SNOTICE:*Notice -- No response from *, closing link:haltdef
ON 1:PART:#:set %lasttoleave $nick