I wrote the script code for you. It colors all aliases in the text, separated by a space, that were found on the channels where you are sitting. I think this is what you want to see. Try to use it.

    [Linked Image from i.ibb.co]

This code must be inserted into the script editor. To do this, press the key combination "ALT+R" and install as a new script:

Code
on ^*:TEXT:*:#: сolor_nick_message $nick $chan $1-
on *:INPUT:#: .msg $chan $1- | if ($left($strip($1-),1) != /) сolor_nick_message $me $chan $1-
alias -l сolor_nick_message {
  ;# %stype = 1  - color from nickname list.
  ;# %stype = 2  - color from address book.
  ;---------------
  var %stype = 1
  ;---------------
  var %st $3- | var %sts $strip(%st) | var %sq 1 | while (%sq <= $numtok(%sts,32)) {
    var %ss $gettok(%sts,%sq,32)
    if ($comchan(%ss,0) > 0) {
      if (%stype == 1) var %sc $nick($2,%ss).color | if (%stype == 2) var %sc $cnick(%ss).color
      var %snc $+($chr(3),%sc,%ss,$chr(3)) | var %st $puttok(%st,%snc,%sq,32)
    }
    inc %sq
  }
  if (%st) { var %sac $+(<,$chr(3),$cnick($1).color,$1,$chr(3),>) | /echo -t $2 %sac %st | halt }
}

If you have will arise questions or new ideas will appear on what to change or add in this script, then write about it here.

P.S. It will also be interesting and useful to know the opinion of all other forum members who want to test my script in order to improve the code and for exchange share experience.



🌐 https://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples