Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias hilights {
- if ($1 == on) {
- set %k.hilight.catcher 1
- window -nak0 @hilights
- echo -a HilightCatcher enabled.
- }
- else {
- unset %k.hilight.catcher
- window -c @hilights
- echo -a HilightCatcher disabled.
- }
- }
- on *:TEXT:*:#: {
- if (%k.hilight.catcher == 1) {
- if ($window(@hilights) == $null) {
- window -nak0 @hilights
- }
- if ($me isin $1-) {
- window -g2 @hilights
- echo @hilights $+($([),$asctime(HH:nn:ss),$(][),$asctime(dd/mm/yyyy),$(])) :: $network / $chan $+(<,$nick($chan, $nick).pnick,>) $replace($1-, $me, $+(04,$me,))
- }
- }
- }
- on *:ACTION:*:#: {
- if (%k.hilight.catcher == 1) {
- if ($window(@hilights) == $null) {
- window -nak0 @hilights
- }
- if ($me isin $1-) {
- window -g2 @hilights
- echo @hilights $+($chr(91),$asctime(HH:nn:ss),$(][),$asctime(dd/mm/yyyy),$(])) :: $network / $chan * $nick($chan, $nick).pnick $replace($1-, $me, $+(04,$me,))
- }
- }
- }
- on *:START: {
- window -nak0 @hilights
- }
- on *:OPEN:@hilights: {
- echo @hilights Hilightcatcher v1.1 by Knoeki.
- echo @hilights For help, contact me at irc.p2p-network.net / #zomgwtfbbq
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement