thank you! that kind-of did it but now when my private window is the active it dings anyway ;o How could I make it so it stops dinging when it's active?
I use this script for when somebody says nick in a channel:
on *:text:*:*: {
if ($me isin $1-) {
if (($chan != $null) && ($chan != $active)) {
echo -at $nick is calling you in $chan
splay dingding.wav
}
}