Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:text:.hl*:%ch: {
- if ( $2 == on ) {
- if ( $userlvl($getid($nick)) <= 40 ) { !return }
- describe %ch .hl timer stopped. $enclose2( Changed by $nick )
- timernoticespam off
- }
- else {
- if ( $userlvl($getid($nick)) >= 30 ) {
- if (!%game.on) { describe %ch You cannot use .hl when there is not any game. | return }
- if ( $timer(noticespam) ) { describe %ch $nick spam with .hl is not allowed, you can hl again in $timer(noticespam).secs seconds! | return }
- var %l = $nick(%ch,0)
- var %i = 1
- var %hlnames = $null
- var %hlnames2 = $null
- while ( %i <= %l ) {
- if ( %i >= 70 ) {
- var %hlnames2 = %hlnames2 $nick(%ch, %i)
- }
- else {
- var %hlnames = %hlnames $nick(%ch,%i)
- }
- inc %i
- if ( %i == %l ) {
- descrive %ch 123
- describe %ch %hlnames
- if (%i >= 70 ) {
- describe %ch %hlnames2
- }
- timernoticespam 1 320 nothin
- }
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment