This is just a simple highlight logger, logs any highlight of your nick in a separate window. on $*:text:/\b/Si:#:{
tokenize 32 $strip($1-) {
if ($me isin $1-) {
window -De @highlights | echo @highlights $timestamp $nick has highlighted you in $chan on $network with the message: $1
}
}
}
lol using proper spelling and not turning HAWKEE.COM SNIPPET PAGES INTO CHAT ROOMS AND LEAVING THE ACTUAL COMMENTING SPACE FOR ISSUES WITH THE SCRIPT IS MY GAME but to each faggot their own I GUESS
Personally I use a timer for this because I like to be different. Using hash tables for this is WAY different. Although I really wouldn't call one record a hash table. It's more like a "hash tray"
I agree with Napa182. It all depends upon the situational use of variables or hash tables, and you use them WISELY, not based upon which is faster or slower. That's beside the point.
Personally i wouldn't have even used regex at all. At the upmost i would have done something like.
Code
The reason i would use hashtables is because if you EXIT mIRC the variables are left in the VAR tab if the unset isn't triggered. Atleast hash tables are deleted automatically when you EXIT unless you have a method of saving them on exit. If you do you can simple exclude them from your method. That's just my two cents.
oobi, why did you use the word boundary \b char class in your regex when nothing is there for an exact match? Don't you think that's a waste of regex engine? But you should be glad that your code's been napalized and not "ghostwrized."
Okay so how about we all listen and Learn here today, Sometimes Regex Doesnt Strip Right With Backgrouds, Thats why if it doesn't you use both, Just to think i have been away and i missed all this lulz..
Correcting a mIRC script to the Nth degree, perfecting it with stupidly complicated methods which are most likely practical, but no-body understands.
Jim: What the hell is this script all about?
Jimbob: Looks like someone has done a napa on it ..
I know it seems silly to strip with regex and use that at the same time but I've noticed a few times that neither are perfect at stripping and it seems to work best stripping colors with both used together, and I really don't know hardly any regex tbh lol
I don't see the need to change it any, it works exactly how it's supposed to, thanks for the *usesless* advice anyways though.
lmao that just made me laugh
well no real need for
Code
cuz you are striping the color with the regex an if you are going to use regex why not use $regml as well.
you may want to add some sort of flood control to this or be flooded eh..
but all in all keep up the msl scripting.....
You do not to use that at all, And dont use | in a short code like this, it will miss up comments and slow the snippet down, | are never good, i dont want scroll sidways.
Code
Now if you dont want to stop ALL other text events you could do somthing like