Top

Masshighlight!


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  6.5 (of 2 scores)
Date Added  Jul 11, 2008
Last Updated  Jul 11, 2008
Tags  ban  crap  deop  highlight  kick  lol  mass  owned  useless 

Introduction

This script will highlight every nick on the channel.
Usage: /hlit
":D" \:D/

Grab the Code

alias hlit {
var %i 1
while (%i <= $nick($chan,0)) {
if ($len(%k) < 300) { var %k = %k $+ $chr(44) $nick($chan,%i) }
if ($len(%k) >= 300) { msg $chan $right(%k,-1) }
inc %i
}
if (%k) { msg $chan $right(%k,-1) }
}

Comments

  (26)  RSS
mountaindew
Comments: 1,826
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 10:23 am
There's a bracket mismatch.
juhapuha
Comments: 73
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 10:25 am
no there's not actually :D
mountaindew
Comments: 1,826
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 10:32 am
oh damn, my bad >_<
juhapuha
Comments: 73
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 10:51 am
:>
EL
Comments: 1,125
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 10:59 am
Acutually pretty cool code lol i like it heres my little Edit of yur code.

Code:

alias hlit {
  var %i 1
  while (%i <= $nick($chan,0)) {
    if ($nick($chan,%i) isop $chan) { var %k $addtok(%k, 4 $+ @ $+ $nick($chan,%i),32)) }
    if ($nick($chan,%i) ishop $chan) { var %k $addtok(%k, 10 $+ % $+ $nick($chan,%i),32)) }
    if ($nick($chan,%i) isvoice $chan) { var %k $addtok(%k, 9 $+ + $+ $nick($chan,%i),32)) }
    if ($nick($chan,%i) isreg $chan) { var %k $addtok(%k, 8 $+ ^ $+ $nick($chan,%i),32)) }
    inc %i
  }
  if (%k) { msg $chan %k }
}

It just places the symbol with a color before the nicknames.Well dont no error and does what it ment to."Rate it or Hate it?"...6/10
juhapuha
Comments: 73
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 11:18 am
YOU HAVEN'T SEEN ANYTHING YET!
This replaces random letters with * symbol! :D

alias hlit {
var %i = 1
while (%i <= $nick($chan,0)) {
if (!%k) || ($len(%k) <= 300) { var %k = %k $+ $chr(44) $replacex($nick($chan,%i),$left($mid($nick($chan,%i),$r(1,$len($nick($chan,%i)))),1),*) }
if ($len(%k) >= 300) { msg $chan $right(%k,-1) }
inc %i
}
if (%k) { msg $chan $right(%k,-1) }
}
:D
EL
Comments: 1,125
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 11:36 am
ROFL wtf FTW! :P btw use BBCode
juhapuha
Comments: 73
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 11:48 am
:D sry i'm not so used to post comments here :D
EL
Comments: 1,125
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 11:54 am
Ha its cool not like its a 10000000000000 line code lol just a lil easyer to see is all well done again ;p and u should add yur replaces as another alias.
juhapuha
Comments: 73
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 12:03 pm
why should i ! :D
I'M SO ANGRY THAT I CAN'T USE MIRC TO ACTUALLY TEST MY SCRIPTS! :D
EL
Comments: 1,125
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 12:44 pm
wtf why not?
juhapuha
Comments: 73
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 12:48 pm
one word: LINUX
mIRC is not working very well if i want to run it on wine.
EL
Comments: 1,125
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 1:03 pm
;x im not a Linuxer sucks tho
juhapuha
Comments: 73
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 1:25 pm
well, it has some good features i'm missing when i'm using windows
Eugenio
Comments: 1,193
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 2:58 pm
ROFL @ linux = epic fail mate
juhapuha
Comments: 73
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 3:10 pm
i'd like to tell you gtfo but i don't :-) linux <3
ChunkieMonkey
Comments: 127
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 3:15 pm
Linux is actually a great operating system x.o even though I don't use it...
juhapuha
Comments: 73
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 4:01 pm
:--)
NIGathan
Comments: 208
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 5:13 pm
Ubuntu FTW!

Nice script man, I took all the modifications everyone made and threw them all into one:

Code:

alias hlit {
  unset %hiopt
  var %i 1
  while (%i <= $nick($chan,0)) {
    if (!$1) {
      if ($len(%k) < 300) { var %k = %k $+ $chr(44) $nick($chan,%i) }
      if ($len(%k) >= 300) { msg $chan $right(%k,-1) }
    }
    else if ($1 == color || $1 == symbol) {
      var %hiopt 1
      if ($nick($chan,%i) isop $chan) { var %k $addtok(%k, 4 $+ @ $+ $nick($chan,%i),32)) }
      if (($nick($chan,%i) ishop $chan) && ($nick($chan,%i) !isop $chan)) { var %k $addtok(%k, 10 $+ % $+ $nick($chan,%i),32)) }
      if (($nick($chan,%i) isvoice $chan) && ($nick($chan,%i) !isop $chan) && ($nick($chan,%i) !ishop $chan)) { var %k $addtok(%k, 9 $+ + $+ $nick($chan,%i),32)) }
      if ($nick($chan,%i) isreg $chan) { var %k $addtok(%k, 8 $+ ^ $+ $nick($chan,%i),32)) }
    }
    else if ($1 == no || $1 == rand) {
      if (!%k) || ($len(%k) <= 300) { var %k = %k $+ $chr(44) $replacex($nick($chan,%i),$left($mid($nick($chan,%i),$r(1,$len($nick($chan,%i)))),1),*) }
      if ($len(%k) >= 300) { msg $chan $right(%k,-1) }
    }
    inc %i
  }
  if (%hiopt == 1) { msg $chan %k }
  else if (%k) { msg $chan $right(%k, -1) }
  halt
}

I also slightly modified yours, EL, now It will only display each nick only once even if they have a combination of op, hop, and voice. :D

EDIT: Now the % shows up for halfops.

EDIT AGAIN: Um... I dont know how to make the color and bold char appear so ill just tell you what I did to make the % appear. You have to surround it with some kind of bold, reverse, color, or underline chars, I used bold then to make everything else fit I bolded the other chars aswell.
EL
Comments: 1,125
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 6:09 pm
Oh yeah wasnt thinkin about all that altho ppl shouldnt be dual modes anyways least not where i come from it makes no sense.Nice edit tho glad we are all throwin ideas around for juhapuha.@juhapuha ,should update.`-.-ยด
juhapuha
Comments: 73
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 6:12 pm
alias hlit {
var %i 1
while (%i <= $nick($chan,0)) {
if ($nick($chan,%i) isop $chan) var %pre @
if ($nick($chan,%i) isvoice $chan) var %pre +
if ($nick($chan,%i) isreg $chan) var %pre $null
if ($len(%k) < 300) { var %k = %k $+ $chr(44) $+(%pre,$nick($chan,%i)) }
if ($len(%k) >= 300) { msg $chan $right(%k,-1) }
inc %i
}
if (%k) { msg $chan $right(%k,-1) }
}
juhapuha
Comments: 73
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 6:12 pm
should work =D
juhapuha
Comments: 73
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 6:18 pm
man, i'm not gonna update it :D
Jamiie
Comments: 167
 
mIRC Snippet:  Masshighlight!
Posted on Jul 11, 2008 11:13 pm
I actually been looking for one of these, I give a 7/10
Typo
Comments: 224
 
mIRC Snippet:  Masshighlight!
Posted on Jul 12, 2008 4:18 am
I made a kind of a similiar script I named Typos Activity Checker and its purpose was to let you know whenever any activity happens in a channel. Its code is a lot larger than this one but it also lets you manage a list of channels it should monitor and some other options about what it checks for.

I had almost forgot about it until now.

I think Ill post it actually.

Good job btw OP. Very nice compact code that does exactly what it says. 6/10
juhapuha
Comments: 73
 
mIRC Snippet:  Masshighlight!
Posted on Jul 12, 2008 4:18 pm
Surprising how that little piece of code activated people to comment :D

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom