could you add a nicks exception service? I need to be able to add nicks of my choice to the list, so that the notices of those nicks do not appear in the @Notice window. This is useful for separating people's notices from those of NickServ, ChanServ, MemoServ and so on, since I only need those in the active window.
If the number of nicknames is small, within reasonable limits, then you can add this line:
if ($istok(NickServ ChanServ MemoServ,$nick,32)) { return }
Otherwise, it would be better to save the nicknames in a separate text file and use "
$read()".
I would like the @Notice window to light up like before when a notice arrives in that window, now it doesn't happen anymore.
You can add the "
-h" switch to the "
aline" command to enable window highlighting when you write a new line:
aline -hp @Notice $timestamp $1-
how can I set a separator in the @Notice window for the various notices?
You can add an additional command "
aline" to the code to write a string that will contain a certain separator character:
aline @Notice -
As a result, after making changes, the script code may look like this:
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 $1- | aline @Notice -
}