SHARE
TWEET

Untitled

a guest May 19th, 2017 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. alias hilights {
  2.   if ($1 == on) {
  3.     set %k.hilight.catcher 1
  4.     window -nak0 @hilights
  5.     echo -a HilightCatcher enabled.
  6.   }
  7.   else {
  8.     unset %k.hilight.catcher
  9.     window -c @hilights
  10.     echo -a HilightCatcher disabled.
  11.   }
  12. }
  13.  
  14. on *:TEXT:*:#: {
  15.   if (%k.hilight.catcher == 1) {
  16.     if ($window(@hilights) == $null) {
  17.       window -nak0 @hilights
  18.     }
  19.     if ($me isin $1-) {
  20.       window -g2 @hilights
  21.       echo @hilights $+($([),$asctime(HH:nn:ss),$(][),$asctime(dd/mm/yyyy),$(])) :: $network / $chan $+(<,$nick($chan, $nick).pnick,>) $replace($1-, $me, $+(04,$me,))
  22.     }
  23.   }
  24. }
  25.  
  26. on *:ACTION:*:#: {
  27.   if (%k.hilight.catcher == 1) {
  28.     if ($window(@hilights) == $null) {
  29.       window -nak0 @hilights
  30.     }
  31.     if ($me isin $1-) {
  32.       window -g2 @hilights
  33.       echo @hilights $+($chr(91),$asctime(HH:nn:ss),$(][),$asctime(dd/mm/yyyy),$(])) :: $network / $chan * $nick($chan, $nick).pnick $replace($1-, $me, $+(04,$me,))
  34.     }
  35.   }
  36. }
  37.  
  38. on *:START: {
  39.   window -nak0 @hilights
  40. }
  41.  
  42. on *:OPEN:@hilights: {
  43.   echo @hilights Hilightcatcher v1.1 by Knoeki.
  44.   echo @hilights For help, contact me at irc.p2p-network.net / #zomgwtfbbq
  45. }
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top