daily pastebin goal
49%
SHARE
TWEET

Untitled

a guest Jan 20th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     %hmsg = $timestamp - $+ 11Hltr $+ - $3 $+(-,$1,-) $4-  
  2.     if (%lgm == on) { write logs\highliter.log %hmsg }
  3.     return %hmsg $m.alert($3)
  4.   }
  5.   while (%k <= $lines($+(",$scriptdirkwords.txt,"))) {
  6.     var %kw = $remove($read($+(",$scriptdirkwords.txt,"),%k),‡)
  7.     if (%kw != $null) {
  8.       if ($1 == %kw) || ($2 isin %kw) || (%kw isin $2) || ($3 == %kw) || (%kw isin $strip($4-,burc)) {
  9.         %hmsg = $timestamp - $+ 11Hltr $+ - $3 $+(-,$1,-) $4-  
  10.         if (%lgm == on) { write logs\highliter.log %hmsg }
  11.         return %hmsg $m.alert($3)
  12.       }
  13.       else { inc %k }
  14.     }
  15.     else { inc %k }
  16.   }
  17.   else { return }
  18. }
  19. Alias m.alert {
  20.   if (%bom = on) { beep 3 }
  21.   if (%fom = on) { flash -r3 $1 }
  22.   if (%hcf = on) { .timerHCF 1 1 window -a $1 }
  23. }
  24. On *:text:*:#:{
  25.   if (%hl = on) {
  26.     if ($chan != $active) {
  27.       var %mtxt = $k.mtch($nick,$address($nick,4),$chan,$1-)
  28.       if (%mtxt) { echo -a %mtxt }
  29.     }
  30.   }
  31. }
  32. On *:action:*:#:{
  33.   if (%hl = on) {
  34.     if ($chan != $active) {
  35.       var %mtxt = $k.mtch($nick,$address($nick,4),$chan,$1-)
  36.       if (%mtxt) { echo -a %mtxt }
  37.     }
  38.   }
  39. }
  40. On *:join:#:{
  41.   if (%hl = on) {
  42.     if ($chan != $active) {
  43.       var %mtxt = $k.mtch($nick,$address($nick,4),$chan,$1-)
  44.       if (%mtxt) { echo -a .:Join: %mtxt }
  45.     }
  46.   }
  47. }
  48. On *:part:#:{
  49.   if (%hl = on) {
  50.     if ($chan != $active) {
  51.       var %mtxt = $k.mtch($nick,$address($nick,4),$chan,$1-)
  52.       if (%mtxt) { echo -a .:Part: %mtxt }
  53.     }
  54.   }
  55. }
  56. On *:quit:{
  57.   if (%hl = on) {
  58.     if ($chan != $active) {
  59.       var %mtxt = $k.mtch($nick,$address($nick,4),$chan,$1-)
  60.       if (%mtxt) { echo -a .:Quit: %mtxt }
  61.     }
  62.   }
  63. }
  64. Alias hltr.hlp {
  65.   did -a hltr 1 ------------------------------------------------------------------------
  66.   did -a hltr 1 Highliter By -KiX-
  67.   did -a hltr 1 ------------------------------------------------------------------------
  68.   did -a hltr 1 Place this file in your mirc directory
  69.   did -a hltr 1 Load this to your mirc with:
  70.   did -a hltr 1 //load -rs pathtothisfile\hltr.mrc
  71.   did -a hltr 1
  72.   did -a hltr 1 Usage: right click and go to Highliter
  73.   did -a hltr 1 ------------------------------------------------------------------------
  74.   did -a hltr 1
  75.   did -a hltr 1 Theres a few features:
  76.   did -a hltr 1 ------------------------------------------------------------------------
  77.   did -a hltr 1
  78.   did -a hltr 1 -Flash: Flashes the channel where
  79.   did -a hltr 1 keyword has been said
  80.   did -a hltr 1
  81.   did -a hltr 1 -Log msgs: logs highliter stuff
  82.   did -a hltr 1 -Change Focus: Changes focus to the last
  83.   did -a hltr 1 chan a keyword was said in
  84.   did -a hltr 1
  85.   did -a hltr 1 -Beep on msg: Beeps mirc when a keyword
  86.   did -a hltr 1 was last said
  87.   did -a hltr 1
  88.   did -a hltr 1 ------------------------------------------------------------------------
  89.   did -a hltr 1
  90.   did -a hltr 1 Key Words:
  91.   did -a hltr 1 Key words can be anything, a #channel,
  92.   did -a hltr 1 a persons nick, a persons isp,
  93.   did -a hltr 1 or specific word like Blah
  94.   did -a hltr 1
  95.   did -a hltr 1 *Note: your own nick is automaticly
  96.   did -a hltr 1 added you cannot edit or delete it.
  97.   did -a hltr 1 it keeps up with your nick chg as well.
  98.   did -a hltr 1 ----------------------------------------------------------------
  99.   did -a hltr 1
  100.   did -a hltr 1 When someone says a keyword, it is echo'd
  101.   did -a hltr 1 to your active channel.
  102.   did -a hltr 1
  103. }
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