Advertisement
SpecialG

hls script #2

May 5th, 2013
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 2.27 KB | None | 0 0
  1. ;Simple Highlight Script (Notice and Counter)
  2. ;Made by nick1
  3. ;Last edit December 1, 2011 (Using Rev. August 29, 2011)
  4.  
  5. on $*:TEXT:/(ComeAtMe|Spec-G|Special-G|SpecialG|Spec-G|ComeAtMe|InvalidUsername|_\|_|abc)/Si:*: {  inc %highlights
  6.   inc %highlights [ $+ [ $nick ] ]
  7.   inc %highlights [ $+ [ $chan ] ]
  8.   $iif(!$window(@Highlights- $+ $network),window -ev @Highlights- $+ $network,noop)
  9.   echo @Highlights- $+ $network 3 $+ $timestamp $+(13,[,4,$iif($chan,$v1,Query),13,]) 1< $+ $iif($left($nick($chan,$nick).pnick,1) isin $prefix,$v1) $+ $nick $+ > 4>>>10 $replace($1-,Special-G,4Special-G10) 4<<<
  10.   if (($active != $chan) && ($active != $window(@Highlights- $+ $network)) && ($active != $nick)) {
  11.     echo -a $+(13,[,13,$iif($chan,$v1,Query),13,]) 1< $+ $iif($left($nick($chan,$nick).pnick,1) isin $prefix,$v1) $+ $nick $+ > 13>>>10 $replace($1-,Special-G,4Special-G10) 13<<<
  12.   }
  13. }
  14.  
  15. on *:input:*: {
  16.   if ($1 == !hls) && ($2 == $null) {
  17.     .timer 1 1 msg $chan 10I have been highlighted a total of4 %highlights 10times...
  18.   }
  19.   elseif ($1 == !hls) && ($2 != $null) && ($2 !isnum) {
  20.     .timer 1 1 msg $chan 10I have been highlighted4 $iif($($+(%, highlights,$2),2),$($+(%, highlights,$2),2),0) 10times $iif(($left($2,1) == $chr(35)),in,by) $+ 4 $2
  21.   }
  22.   elseif ($1 == !hls) && ($2 >= 1) {
  23.     var %i = 2
  24.     while (%i <= $var(%highlights*, 0)) {
  25.       if ($var(%highlights*,%i).value >= $2) $iif(*#* iswm $($var(%highlights*,%i),0),noop,inc %x)
  26.       inc %i
  27.     }
  28.     .timer 1 1 msg $chan 10A total of4 %x 10people have highlighted me over4 $210 times...
  29.     unset %x
  30.   }
  31.  
  32.   elseif ($1 == !highlights) && ($2 == $null) {
  33.     .timer 1 1 msg $chan 10I have been highlighted a total of4 %highlights 10times...
  34.   }
  35.   elseif ($1 == !highlights) && ($2 != $null) && ($2 !isnum) {
  36.     .timer 1 1 msg $chan 10I have been highlighted4 $eval($+(%, highlights, $2), 2) 10times by4 $2
  37.   }
  38.   elseif ($1 == !highlights) && ($2 >= 1) {
  39.     var %i = 2
  40.     while (%i <= $var(%highlights*, 0)) {
  41.       if ($var(%highlights*,%i).value >= $2) $iif(*#* iswm $($var(%highlights*,%i),0),noop,inc %x)
  42.       inc %i
  43.     }
  44.     .timer 1 1 msg $chan 10A total of4 %x 10people have highlighted me over4 $210 times...
  45.     unset %x
  46.   }
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement