Guest User

Untitled

a guest
May 18th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 1.03 KB | None | 0 0
  1. on *:text:.hl*:%ch: {
  2.   if ( $2 == on ) {
  3.  
  4.     if ( $userlvl($getid($nick)) <= 40 ) { !return }
  5.     describe %ch .hl timer stopped. $enclose2( Changed by $nick )
  6.     timernoticespam off
  7.  
  8.   }
  9.   else {
  10.     if ( $userlvl($getid($nick)) >= 30 ) {
  11.       if (!%game.on) { describe %ch You cannot use .hl when there is not any game. | return }
  12.       if ( $timer(noticespam) ) { describe %ch $nick spam with .hl is not allowed, you can hl again in $timer(noticespam).secs seconds! | return }
  13.       var %l = $nick(%ch,0)
  14.       var %i = 1
  15.       var %hlnames = $null
  16.       var %hlnames2 = $null
  17.       while ( %i <= %l ) {
  18.         if ( %i >= 70 ) {
  19.           var %hlnames2 = %hlnames2 $nick(%ch, %i)
  20.         }
  21.         else {
  22.           var %hlnames = %hlnames $nick(%ch,%i)
  23.         }
  24.         inc %i
  25.         if ( %i == %l ) {
  26.                 descrive %ch 123
  27.           describe %ch %hlnames
  28.           if (%i >= 70 ) {
  29.             describe %ch %hlnames2
  30.           }
  31.           timernoticespam 1 320 nothin
  32.         }
  33.       }  
  34.     }
  35.   }
  36. }
Add Comment
Please, Sign In to add comment