PowerPuffGold.2000 — File Browser
PowerPuffGold.2000v2.0 / PowerPuffGold.2000v2.0 / PowerPuffGold2000 / remotes / ctcp-raw.mrc
ctcp-raw.mrc — 9.46 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!!..............
;°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
ctcp 1:USERINFO:if ($nick !=$me) { .notice $nick Nunya dang business :P~ | halt }
ctcp 1:FINGER:if ($nick != $me) { .notice $nick Keep them dang things to yourself :P~ | halt }
ctcp ^1:*:{
if ($1 == GET) {
echo 4 -s [ $+ $nick GET] $parm2-
if (%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 $ver2 | halt
}
if %soundfil == $null { /notice $nick The file: %soundr that you requested cannot be found. $ver2 | halt }
}
}
if ($1 == VERSION) {
.ctcpreply $nick Uhmmm 12ya coulda jus asked nosey:P | .ctcpreply $nick VERSION %ver
}
if ($1 == TIME) {
.ctcpreply $nick Time to get a new watch
halt
}
if ($1 == PAGE) {
if ($away) && (%pager == ON) { /splay page.wav | inc %pagecount 1 | set %page. [ $+ [ %pagecount ] ] Page $+ %pagecount $+ : ( $+ $nick $+ ) $2- | .notice $nick You have paged me. | echo -a 11,2 $nick paged you: Reason8,2 $2- | haltdef | halt }
else { halt }
}
if (%ctcpp == ON) {
echo -s 2>>5 $nick 2just $1 $+ ed you.
if (%ctcp. [ $+ [ $wildsite ] ] == $null) { set -u [ $+ [ %ctcps ] ] %ctcp. [ $+ [ $wildsite ] ] 1 }
if (%ctcp. [ $+ [ $wildsite ] ] == %ctcpc) { echo -s CTCP flood detected by: $nick - Ignoring for 30secs. | .ignore -u30 $nick 2 | .notice $nick CTCP flood detected, ignoring for 30secs. }
else { inc %ctcp. [ $+ [ $wildsite ] ] }
}
}
ON 1:CTCPREPLY:*:{
if ($1 == PING) {
if ($nick = ChanServ) { echo -s 8,12<< 11Services Lag Time 8=11 $duration($calc($ctime - $2)) 8on11 $server 8>> | /msg %currchan 8,12<< 11Services Lag Time 8=11 $duration($calc($ctime - $2)) 8on 11 $server 8>>15,15PPG | halt }
if ($nick = $me) { echo %s 6»12P6i12n6g 12R6e12p6l12y6«12 $nick=6 $duration($calc($ctime - $2)) }
else {
.notice $nick 6»12P6i12n6g 12R6e12p6l12y6«12 $nick=6 $duration($calc($ctime - $2))
echo %s 6»12P6i12n6g 12R6e12p6l12y6«12 $nick=6 $duration($calc($ctime - $2))
}
}
if ($1 == TIME) {
.ctcpreply $nick Time to get a new watch
halt
}
}
raw 367:*:echo %s $3 $4 $asctime($5) | halt
raw 305:*:echo %s 12You are 4no longer12 set as away. | halt
raw 306:*:echo %s 12You are now set as 4away. | halt
raw 433:*:echo %s 12Nick5 $2 12already in use. | halt
raw 401:*:echo %s 12No such nick:5 $parm2 | halt
raw 403:*:echo %s 12No such channel:5 $parm2 | halt
raw 404:*:echo %s 12Cannot send to channel:5 $parm2 | halt
raw 405:*:echo %s 4You're on too many channels. | halt
raw 406:*:echo %s 12There was no such nick:5 $parm2 | halt
raw 412:*:echo %s 4No text to send. | halt
raw 421:*:echo %s 4Unknown command: $parm2 | halt
raw 431:*:echo %s 12No nick givin. | halt
raw 432:*:echo %s 12Erroneus nick (illegal characters):5 $parm2 | halt
raw 441:*:echo %s 5 $parm2 12is not on:5 $parm3 | halt
raw 442:*:echo %s 12You're not on:5 $parm2 | halt
raw 443:*:echo %s 5 $parm2 12is already on:5 $parm3 | halt
raw 461:*:echo %s 4Not enough parameters givin. | halt
raw 471:*:echo %s 4Channel is full. | halt
raw 472:*:echo %s 12Unknown mode char:5 $parm2 | halt
raw 473:*:echo %s 5 $parm2 12is invite only. | halt
raw 474:*:echo %s 4Problem!!12 You are banned from:4 $parm2 | halt
raw 475:*:echo %s 12Bad channel key. | halt
raw 481:*:echo %s 12You're not an IRC Operator. | halt
raw 482:*:echo %s 4Duh!!12 You're not a channel operator in:5 $parm2 | halt
raw 491:*:echo %s 12No O:lines for your host. | halt
raw 502:*:echo %s 4Can't change mode for other users. | halt
raw 314:*:echo %s 2** WhoWAS on:12 $parm2 $chr(91) $+ $parm3 $+ @ $+ $parm4 $+ $chr(93) | echo %s 2** Real name:12 $parm6* | halt
raw 369:*:echo %s 2** End of WhoWAS. | halt
raw 301:*:echo %s 2** Away:12 $parm3* | halt
raw 381:*:echo %s 12You are now an IRC Operator. | halt
raw 256:*:echo %s 12Administrative information: $5 | halt
raw 257:*:echo %s 12Administrative information: $2- | halt
raw 258:*:echo %s 12Administrative information: $2- | halt
raw 259:*:echo %s 12Administrative information: $2- | halt
raw 295:*:echo %s 12IRC server admin: Yes | halt
raw 307:*:echo %s 2** 12Info: Registered Nick] | halt
raw 308:*:echo %s $+ $2- $+ | halt
raw 310:*:echo %s 3 $chr(91) $+ $parm2 looks very helpfull $+ $chr(93) | halt
raw 311:*:echo %s 2** WhoIS For:12 $parm2 2 $chr(91) $+ $parm3 $+ @ $+ $parm4 $+ $chr(93) | echo %s 2** Real Name:12 $parm6* | write whois.txt $parm2 $chr(91) $+ $parm3 $+ @ $+ $parm4 $+ $chr(93) | halt
raw 312:*:echo %s 2** Server: 12 $parm3 | halt
raw 313:*:echo %s 12 $+ $2- $+ | halt
raw 317:*:echo %s 2** Idle: 12 $duration($parm3) | echo %s 2** Signed On: 12 $asctime($4) | echo %s 2** Time Now: 12 $asctime($ctime) | halt
raw 318:*:echo %s 2** Country:12 %ccdisplay | echo %s 2** 12End of WhoIS | echo %s 12-13=12-13=12-13=12-13=12-13=12-13=12-13=12- | halt
raw 319:*:set %channels $parm3* | set %channels $replace(%channels,@,4@12) | set %channels $replace(%channels,+,3+12) | /echo %s 2** Channels:12 %channels | halt
raw 328:*:echo -a 2>> $2 $+ 's URL: $3 | echo %s 12-6=12-12-6=12- | halt
raw 324:*:echo -a 2>> $2 $+ 's Modes: $3 | echo %s 12-6=12-12-6=12- | halt
raw 329:*:echo -a 2>> $2 Created on: $rasctime($3) | echo %s 12-6=12-12-6=12- | halt
raw 333:*:echo -a 2>> $2 Topic set by:12 $3 2on: $rasctime($4) | echo %s 12-6=12-12-6=12- ) | halt
raw 332:*:echo -a 2>> $2 $+ 's Topic is: $3- | echo %s 12-6=12-12-6=12- | halt
raw 366:*:echo %s 2>> $2 End of /NAMES list. | halt
raw 353:*:set %names $parm3* | set %names $replace(%names,@,4@) | set %names $replace(%names,+,10+) | echo %s %names | halt
raw 376:*:echo %s 2End of message of the day | halt
raw 1:*:echo %s $2-7 $+ $gettok($8,1,33) $+ 6(02 $+ $gettok($8,2,33) $+ 6) | halt
raw 2:*: echo %s 2Your host06 $chr(40) $+ 02 $+ $remove($5,$chr(44)) $+ 6 $+ $chr(41) $+ 1 is running version:02 $8 | halt
raw 3:*: echo %s 2This server was created on:2 $6- | halt
raw 4:*:echo %s 2User modes:02 $4 1Channel modes:02 $5 | halt
raw 5:*:echo %s $2- | halt
raw 251:*:echo %s 2There are02 $4 1users and02 $7 1invisable users on02 $10 1servers. | halt
raw 252:*:echo %s 2There are:02 $2 1Oper(s) online. | halt
raw 253:*:echo %s 2There are:02 $2 1unknown connections. | halt
raw 254:*:echo %s 2There are:02 $2 1channels formed. | halt
raw 255:*:echo %s 02 $+ $4 1local clients, and02 $7 1servers. | halt
raw 265:*:echo %s 2Current local users:02 $5 1Most:02 $7 | halt
raw 266:*:echo %s 2Current global users:02 $5 1Most:02 $7 | halt
raw 368:*:echo %s 7 [End of Ban List]
raw 375:*:echo %s 2Message of the Day | halt
raw 468:*:echo %s 2Only servers can change that mode. | halt
raw 501:*:echo %s 2Unknown mode flag. | halt
raw 451:*:echo %s 4You must register on to the server before typing: / $+ $1 | halt
raw 600:*:echo -s 5 $boldl($2) 2 $chr(91) $+ $3 $+ @ $+ $4 $+ $chr(93) 12is on IRC. | halt
raw 604:*:echo -s 5 $boldl($2) 2 $chr(91) $+ $3 $+ @ $+ $4 $+ $chr(93) 12is on IRC. | halt
raw 601:*:echo -s 5 $boldl($2) 2 $chr(91) $+ $3 $+ @ $+ $4 $+ $chr(93) 12left IRC. | halt
raw 607:*:echo %s 5End of watch. | halt
raw 605:*:halt
raw 351:*:set %ptime $duration($calc($ctime - %ctime)) | .timerPING 1 60 /pingsvr | halt
raw 341:*:echo %s $boldl($2) has been invited to $boldr($3) $+ . | halt
raw 309:*:echo %s $+ $2- $+ | halt
;raw *:*:echo %s $numeric $1-
#defwho1 on
raw 315:*:echo %s 2** 12End of Who List | halt
raw 352:*:echo %s 3 $parm2 12 $parm6 6 $parm3 $+ @ $+ $parm4 | halt
#defwho1 end
#defwho2 off
raw 352:*:{
set %chan $2
set %nick $6
set %isp $gettok($4,1,64)
sockopen spoof $gettok($4,1,64) 23
halt
}
raw 315:*:{
.disable #defwho2
.enable #defwho1
halt
}
#defwho2 end