mIRC Homepage
Posted By: Parin Highlight options in mirc - 24/02/04 12:07 PM
I'm trying to have mirc beep me and highlight the channel if people say certain words in a line. Currently, I use commas to seperate the words, but then it highlights if any of the words are shown, and not if all in the same line together.

For example:
I want mirc to highlight the channel if someone says:
Parin + you + suck

If i put in the highlight options:
Parin, you, suck

Then it beeps everytime someone says 'you' as well.
I only want it to beep if those three words appear in a sentence together.
But not necessarily one after the other.

For example:
Parin, lewser, you know what, you really suck.
--> i want it to beep on that as well, because all three words are in that sentence.

Know what I mean? wink
So is this possible?
Posted By: Iori Re: Highlight options in mirc - 24/02/04 09:18 PM
Code:
on ^*:text:$($+(*,$me,*)):#:{
  if $istok($1-,you,32) && $istok($1-,suck,32) {
    echo $highlight($me).color -bfirt # $+(<,$nick,>) $1-
    window -g2 #
    haltdef
  }
}
Posted By: Doqnach Re: Highlight options in mirc - 25/02/04 05:11 PM
*parin*you*suck* as highlight text if you want to use the internal mIRC highlights options
© mIRC Discussion Forums