on *:text:*:?:{
if ( $window !== $active ) { echo -alt < $+ PM: $nick $+ > $1- }
if !$appactive {
talk You were PMed by $nick
}
}
This script should do everithing it does now, except echo-ing when the PM window is active. How to scipt that? The if i'm using (" if ( $window !== $active ) ") now is'nt working.