Typing /help /if will give you some examples, but basically, it's just something like:

Code:
on *:text:*some trigger*:#channel: {
  if ($nick == somenick) {
    echo -a Yes
  }
  else {
    echo -a No
  }
}


That is just an example. More than likely, you will be doing something other than echoing Yes and No. You might use /msg instead of /echo, or do something else. You also don't need the else section if you don't want it to do anything when the nick isn't "somenick". The help file gives some good information on using IF/ELSEIF/ELSE.

Highlighting a nick the way you mean depends entirely on each person's settings. Some people have their mIRC set up to notify them in some way (sound, flashing, etc.) when their nick is said. Most don't have it set that way and will not be notified in any way other than visually seeing the message itself no matter what you do. You can include a bunch of nicks in the message, but it will look really bad if you have more than a couple people on the channel. For example, this looks awful (my personal opinion, of course):

Quote:
nick1, nick2, nick3, nick4, nick5, nick6, nick7, nick8, nick9, nick10: So-and-so said: blah blah blah


You could do that, but it is perhaps not the best idea. If the text is something that people need to be notified about, then you may want to just recommend that each person set their highlight settings up so that they are notified when "Ny Tour" is on a line. Then you don't have to put everyone's nick on the line. Of course, whether or not they take the advice is up to each person.

Note on your last code example, you need to use {}'s because you're using a | in the line to do two things. Also, unless you have a custom identifier named $Utroparen, that will show up as nothing (null). More than likely what you mean is $nick said instead. $nick will be the nick of the person who said triggered the event. Basically the same thing you did on the msg part of the line.


Invision Support
#Invision on irc.irchighway.net