Quote
if I have the nicknames Hi1 and Hi2 connected in the same channel, and I receive a notice that appears in the @Notice window, how can I understand to whom of the two nicknames the notice is addressed? Is it possible to make the nickname to which the notice is sent appear in some way?
You can use the identifiers "$me" and "$nick", which return recipient's your nickname and the sender's nickname of the notice.
They need to be added before the message identifier "$1-" in this line of code: aline -hp @Notice $timestamp $me - $nick :: $1-


In full code it will look like this:
Code
on *:NOTICE:*:*:{
  if ($istok(NickServ ChanServ MemoServ,$nick,32)) { return }
  if (*try this new feature* iswm $1-) { return }
  if (!$window(@Notice)) window @Notice
  aline -hp @Notice $timestamp $me - $nick :: $1- | aline @Notice -
}


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