SHARE
TWEET

Untitled

a guest Jun 4th, 2017 171 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. alias -l highlighted if ($regex($1-,/YOURNAMEHERE/Si)) return $true
  2. ;if you want multiple highlights, replace YOURNAMEHERE with (highlight1|highlight2) and you can add as many as you need/want.
  3. on *:START:{
  4.   .timestamp -f 4[hh4:nn4] | .timestamp on
  5. }
  6. alias -l levelc { return $iif($1 isop $chan,4@,$iif($1 === ChanServ,4@,$iif($1 ishop $chan,8%,$iif($1 isvoice $chan,12+)))) }
  7. on ^*:TEXT:*:#:{
  8.   haltdef
  9.   echo $+ $iif($highlighted($1-),$chr(32) $+ -m) $chan $iif($highlighted($1-),14[4HL14] $+ $chr(32)) $+ $timestamp ( $+ $levelc($nick) $+ 14 $+ $nick $+ ) $1-
  10. }
  11. on ^*:RAWMODE:#:{
  12.   haltdef
  13.   echo -t $chan $alert ChanMode: $levelc($nick) $+ 14 $+ $nick sets 14[4 $+ $1 $+ 14]4 $iif($2,$2-)
  14. }
  15. on ^*:NICK:{
  16.   haltdef | var %x $comchan($newnick,0) | while (%x) {
  17.     echo $comchan($newnick,%x) $timestamp $alert Nick:14 $nick  $+ $iif($newnick isop $comchan($newnick,%x),4»»»,$iif($newnick ishop $comchan($newnick,%x),8»»»,$iif($newnick isvoice $comchan($newnick,%x),12»»»,»»»))) $+ 14 $newnick
  18.     dec %x
  19.   }
  20. }
  21. on ^*:JOIN:#:{
  22.   haltdef
  23.   if ($nick != $me) { echo -t $chan $alert Joins:14 $nick (14 $+ $replace($address,@,@14,.,4.14) $+ ) }
  24.   else { echo -t $chan ————————————————————————————————— | echo -t $chan $alert Now talking in4 # $+ . }
  25. }
  26. on ^*:PART:#:{
  27.   haltdef
  28.   if ($nick != $me) {
  29.     echo -t $chan $alert Parts: $levelc($nick) $+ 14 $+ $nick (14 $+ $replace($address,@,@14,.,4.14) $+ )14 $1-
  30.   }
  31. }
  32. on ^*:QUIT:{
  33.   haltdef | var %x $comchan($nick,0) | while (%x) {
  34.     echo -t $comchan($nick,%x) $alert Quits: $iif($nick isop $comchan($nick,%x),4@,$iif($nick ishop $comchan($nick,%x),8%,$iif($nick isvoice $comchan($nick,%x),12+))) $+ 14 $+ $nick (14 $+ $replace($address,@,@14,.,4.14) $+ )4:14 $1-
  35.     dec %x
  36.   }
  37. }
  38. on *:INPUT:#:{
  39.   if (/* !iswm $1) || ($ctrlenter) {
  40.     haltdef | .msg # $1- | echo -at ( $+ $levelc($me) $+ 14 $+ $me $+ ) $1-
  41.   }
  42. }
  43. on ^*:ACTION:*:#:{
  44.   haltdef
  45.   echo $+ $iif($highlighted($1-),$chr(32) $+ -m) $chan $iif($highlighted($1-),14[4HL14] $+ $chr(32)) $+ $timestamp 13* ( $+ $levelc($nick) $+ 14 $+ $nick $+ )13 $1-
  46. }
  47. on ^*:NOTICE:*:?:{
  48.   haltdef | var %x $comchan($nick,0) | while (%x) {
  49.     echo $comchan($nick,%x) ? $+ $timestamp [ $+ $iif($nick isop $comchan($nick,%x),4@,$iif($nick ishop $comchan($nick,%x),8%,$iif($nick isvoice $comchan($nick,%x),12+))) $+ 14 $+ $nick (14 $+ $replace($address,@,@14,.,4.14) $+ )] $1-
  50.     dec %x
  51.   }
  52.   if ($nick !ison $active) {
  53.     echo -a ? $+ $timestamp [ $+ $levelc($nick) $+ 14 $+ $nick (14 $+ $replace($address,@,@14,.,4.14) $+ )] $1-
  54.   }
  55.   if ($active != Status window) {
  56.     echo ? $+ $timestamp [14 $+ $nick (14 $+ $replace($address,@,@14,.,4.14) $+ )] $1-
  57.   }
  58. }
  59. on ^*:NOTICE:*:#:{
  60.   haltdef
  61.   echo $chan ? $+ $timestamp 4(14 $+ $chan $+ 4) [ $+ $levelc($nick) $+ 14 $+ $replace($nick,.,4.14) (14 $+ $iif(@ isin $replace($address,@,@14,.,4.14),$v2,Server) $+ )] $1-
  62. }
  63. on ^*:KICK:#:{
  64.   haltdef
  65.   if ($knick != $me) {
  66.   echo -t $chan $alert Kicks: [ $+ $levelc($knick) $+ 14 $+ $knick (14 $+ $replace($gettok($address($knick,5),2,33),@,@14,.,4.14) $+ )] was kicked by [ $+ $levelc($nick) $+ 14 $+ $nick $+ ]14 $1- }
  67.   else {
  68.     echo -t $alert Kicks: 4You were kicked from4 # by [ $+ $levelc($nick) $+ 14 $+ $nick (14 $+ $replace($address,@,@14,.,4.14) $+ )]14 $1-
  69.   }
  70. }
  71. on ^*:TEXT:*:?:{
  72.   query $nick | haltdef | echo $nick 14[4PM14] $timestamp (14 $+ $nick $+ ) $1-
  73. }
  74. on *:INPUT:?:{
  75.   if (/* !iswm $1) || ($ctrlenter) {
  76.     haltdef | .msg $active $1- | echo -a 14[4PM14] $timestamp (14 $+ $me $+ ) $1-
  77.   }
  78. }
  79. on ^*:SNOTICE:*:{ echo ? $+ $timestamp (14 $+ $replace($nick,.,4.14) $+ ) $1- | haltdef }
  80. on ^*:TOPIC:#:{ haltdef | echo -t $chan $alert Topic Change [ $+ $levelc($nick) $+ 14 $+ $nick $+ ]: $1- }
  81. on ^*:INVITE:#:{ haltdef | echo -t $alert Invite:4 $nick (14 $+ $replace($address,@,@14,.,4.14) $+ ) invites you to join4 $chan $+ . }
  82. on ^*:ACTION:*:?:{ haltdef | echo $nick 14[4PM14] $timestamp 13* (14 $+ $nick $+ )13 $1- }
  83. on ^*:USERMODE:{ echo -t UserMode: You changed: (14 $+ $1- $+ ) | haltdef }
  84. alias notice { if ($2) { .notice $1- | echo -q ? $+ $timestamp to (14 $+ $1 $+ ) $2- } }
  85. alias query { query $1 | if ($2) { .msg $1- | echo -a 14[4PM14] $timestamp (14 $+ $me $+ ) $2- } }
  86. alias me {
  87.   if ($1) {
  88.     .describe $active $1-
  89.     if ($chan) { echo -ta 13* ( $+ $levelc($me) $+ 14 $+ $me $+ )13 $1- }
  90.     else { echo $nick 14[4PM14] $timestamp 13* (14 $+ $me $+ )13 $1- }
  91.   }
  92. }
  93. raw 332:*:{ echo -t $2 $alert Topic: $3- | haltdef }
  94. raw 333:*:{ echo -t $2 $alert Topic: Set by 4[14 $+ $gettok($3,1,33) 4(14 $+ $iif(! isin $3,$replace($gettok($3,2,33),@,@14,.,4.14),unknown address) $+ 4)] at 4(14 $+ $asctime($4) $+ 4) | echo -t $2 ————————————————————————————————— | haltdef }
  95. alias alert { return 14[4¤14] }
  96. raw 313:*:{ echo -a 4| $5- | haltdef }
  97. raw 311:*:{ echo -a 4|¯¯¯¯¯¯¯¯¯¯¯(/whois14 $2 $+ 4) | echo -a 4|14 $3 $+ @14 $+ $replace($4,.,4.14) * $6- | haltdef }
  98. raw 319:*:{ echo -a 4| on14 $remove($3-,@,%,+) | haltdef }
  99. raw 312:*:{ echo -a 4|4 $replace($3,.,14.04) 14(04 $+ $4- $+ 14) | haltdef }
  100. raw 307:*:{ echo -a 4|14 Identified | haltdef }
  101. raw 317:*:{ echo -a 4| Idle:4 $duration($3) 14| Signed on4 $duration($calc($ctime - $4)) ago. | haltdef }
  102. raw 318:*:{ echo -a 4|___________(/whois14 $2 $+ 4) | haltdef }
  103. raw 335:*:{ echo -a 4|14 is a Bot | haltdef }
  104. raw 671:*:{ echo -a 4| 4S14ecure 4C14onnection | haltdef }
  105. raw 301:*:{ echo -a 4|14 Away: $3- | haltdef }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top