Originally Posted By: Horstl

But the trouble begins when trying to catch all highlights correctly. For example:
Code:
on *:text:*:*: {
  if ($highlight($1-)) { echo -anc highlight Highlight triggers (matching: $highlight($1-).text $+ ) }
}
This works apparently well. But $highlight uses the syntax $highlight(N/text). Now, if text == N? That is: if someone sends the message "1"? confused

Well, the simple (and proper) way is to check $highlight($nick $1-)