Advertisement
illpastethat

Highlight script for Dani_l11

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